2016-03-03 02:18:55 +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.
|
|
|
|
|
|
|
|
chihaya:
|
|
|
|
tracker:
|
|
|
|
announce: 10m
|
|
|
|
min_announce: 5m
|
|
|
|
announce_middleware:
|
2016-05-19 16:37:47 +02:00
|
|
|
# - name: ip_blacklist
|
|
|
|
# - name: ip_whitelist
|
|
|
|
# - name: client_blacklist
|
|
|
|
# - name: client_whitelist
|
|
|
|
# - name: infohash_blacklist
|
|
|
|
# - name: infohash_whitelist
|
|
|
|
# - name: varinterval
|
|
|
|
# - name: deniability
|
|
|
|
- name: store_swarm_interaction
|
|
|
|
- name: store_response
|
2016-03-03 02:18:55 +01:00
|
|
|
scrape_middleware:
|
2016-05-19 16:37:47 +02:00
|
|
|
# - name: infohash_blacklist
|
|
|
|
# config:
|
|
|
|
# mode: block
|
|
|
|
- name: store_response
|
2016-03-03 02:18:55 +01:00
|
|
|
|
|
|
|
servers:
|
|
|
|
- name: store
|
|
|
|
config:
|
|
|
|
addr: localhost:6880
|
|
|
|
request_timeout: 10s
|
|
|
|
read_timeout: 10s
|
|
|
|
write_timeout: 10s
|
2016-03-11 21:09:49 +01:00
|
|
|
client_store:
|
|
|
|
name: memory
|
|
|
|
ip_store:
|
|
|
|
name: memory
|
|
|
|
string_store:
|
|
|
|
name: memory
|
|
|
|
peer_store:
|
|
|
|
name: memory
|
|
|
|
config:
|
|
|
|
gcAfter: 30m
|
|
|
|
shards: 1
|
2016-03-03 02:18:55 +01:00
|
|
|
|
2016-03-03 02:59:01 +01:00
|
|
|
- name: prometheus
|
2016-03-03 02:18:55 +01:00
|
|
|
config:
|
|
|
|
addr: localhost:6881
|
2016-03-03 02:59:01 +01:00
|
|
|
shutdown_timeout: 10s
|
|
|
|
read_timeout: 10s
|
|
|
|
write_timeout: 10s
|
|
|
|
|
|
|
|
- name: http
|
|
|
|
config:
|
|
|
|
addr: localhost:6882
|
2016-03-03 02:18:55 +01:00
|
|
|
request_timeout: 10s
|
|
|
|
read_timeout: 10s
|
|
|
|
write_timeout: 10s
|
|
|
|
|
2016-05-19 16:37:47 +02:00
|
|
|
# - name: udp
|
|
|
|
# config:
|
|
|
|
# addr: localhost:6883
|