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
|
|
|
|
minAnnounce: 5m
|
|
|
|
announceMiddleware:
|
|
|
|
- prometheus
|
|
|
|
- storeClientValidation
|
|
|
|
- storeCreateOnAnnounce
|
|
|
|
scrapeMiddleware:
|
|
|
|
- prometheus
|
|
|
|
- storeClientValidation
|
2016-01-25 06:41:39 +01:00
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
servers:
|
|
|
|
- name: store
|
|
|
|
config:
|
|
|
|
addr: localhost:6880
|
|
|
|
requestTimeout: 10s
|
|
|
|
readTimeout: 10s
|
|
|
|
writeTimeout: 10s
|
|
|
|
clientStore: memory
|
2016-02-16 21:46:40 +01:00
|
|
|
ipStore: memory
|
2016-02-16 01:49:25 +01:00
|
|
|
peerStore: memory
|
|
|
|
peerStoreConfig:
|
|
|
|
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
|
|
|
|
requestTimeout: 10s
|
|
|
|
readTimeout: 10s
|
|
|
|
writeTimeout: 10s
|
2016-01-25 06:41:39 +01:00
|
|
|
|
2016-02-16 01:49:25 +01:00
|
|
|
- name: udp
|
|
|
|
config:
|
|
|
|
addr: localhost:6882
|