2016-01-25 06:41:39 +01:00
|
|
|
# Copyright 2016 The Chihaya Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by the BSD 2-Clause license,
|
|
|
|
# which can be found in the LICENSE file.
|
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
tracker:
|
|
|
|
announce: 10m
|
2016-02-26 01:33:39 +01:00
|
|
|
min_announce: 5m
|
|
|
|
announce_middleware:
|
2016-02-16 01:49:25 +01:00
|
|
|
- prometheus
|
2016-02-26 01:33:39 +01:00
|
|
|
- store_client_validation
|
|
|
|
- store_create_on_announce
|
|
|
|
scrape_middleware:
|
2016-02-16 01:49:25 +01:00
|
|
|
- prometheus
|
2016-02-26 01:33:39 +01:00
|
|
|
- store_client_validation
|
2016-01-25 06:41:39 +01:00
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
servers:
|
|
|
|
- name: store
|
|
|
|
config:
|
|
|
|
addr: localhost:6880
|
2016-02-26 01:33:39 +01:00
|
|
|
request_timeout: 10s
|
|
|
|
read_timeout: 10s
|
|
|
|
write_timeout: 10s
|
|
|
|
client_store: memory
|
|
|
|
ip_store: memory
|
|
|
|
peer_store: memory
|
|
|
|
peer_store_config:
|
2016-02-16 01:49:25 +01:00
|
|
|
gcAfter: 30m
|
|
|
|
shards: 1
|
2016-01-25 06:41:39 +01:00
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
- name: http
|
|
|
|
config:
|
|
|
|
addr: localhost:6881
|
2016-02-26 01:33:39 +01:00
|
|
|
request_timeout: 10s
|
|
|
|
read_timeout: 10s
|
|
|
|
write_timeout: 10s
|
2016-01-25 06:41:39 +01:00
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
- name: udp
|
|
|
|
config:
|
|
|
|
addr: localhost:6882
|