mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-27 08:00:00 -07:00
travis: refactor into scripts&configs, move to dist/travis
This commit is contained in:
42
dist/travis/config_memory.yaml
vendored
Normal file
42
dist/travis/config_memory.yaml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# This config file is used by travis for end-to-end testing.
|
||||
# See example_config.yaml for a commented, more complete configuration!
|
||||
|
||||
chihaya:
|
||||
announce_interval: 30m
|
||||
min_announce_interval: 15m
|
||||
prometheus_addr: "0.0.0.0:6880"
|
||||
|
||||
http:
|
||||
addr: "0.0.0.0:6969"
|
||||
https_addr: ""
|
||||
tls_cert_path: ""
|
||||
tls_key_path: ""
|
||||
read_timeout: 5s
|
||||
write_timeout: 5s
|
||||
enable_keepalive: false
|
||||
idle_timeout: 30s
|
||||
enable_request_timing: false
|
||||
enable_legacy_php_urls: false
|
||||
allow_ip_spoofing: false
|
||||
real_ip_header: "x-real-ip"
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
udp:
|
||||
addr: "0.0.0.0:6969"
|
||||
max_clock_skew: 10s
|
||||
private_key: "paste a random string here that will be used to hmac connection IDs"
|
||||
enable_request_timing: false
|
||||
allow_ip_spoofing: false
|
||||
max_numwant: 100
|
||||
default_numwant: 50
|
||||
max_scrape_infohashes: 50
|
||||
|
||||
storage:
|
||||
name: memory
|
||||
config:
|
||||
gc_interval: 3m
|
||||
peer_lifetime: 31m
|
||||
shard_count: 1024
|
||||
prometheus_reporting_interval: 1s
|
||||
Reference in New Issue
Block a user