-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.toml
More file actions
34 lines (28 loc) · 1.2 KB
/
config.toml
File metadata and controls
34 lines (28 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Settings for the tracker
[settings]
# What port the tracker will run on (other trackers will assume 80 by default,
# so don't change this without a really good reason)
# possible values: any valid port integer
server_port = 42070
# Whether or not the tracker should run in debug mode
# Debug mode causes extra logging and will restart the tracker whenever modifications
# are made to the source code
# possible values: true/false
debug_mode = false
# The path to the tracker database
# If the file does not already exist it will be created, but only if the full path to its
# parent folder exists
# possible values: relative or absolute path, as string
db_path = "./tracker.db"
# The keep alive timeout for peers (in seconds)
# If the keep alive timeout is exceeded without a peer refreshing its timeout, it
# will no longer appear as a hosting peer for any file
# possible values: any positive integer
keepalive_timeout = 20
# The number of threads to be watching the event broadcast queues
# possible values: any integer >= 1
broadcast_thread_count = 4
# The max number of times to attempt sending an update to a tracker before marking it
# as offline.
# possible values: any integer >= 0
max_tracker_failures = 3