-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.js
29 lines (21 loc) · 894 Bytes
/
config.example.js
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
module.exports = {
// check interval in seconds
interval: 180,
// front end url for rutorrent
url: "https://my.example.com/pt",
// delete old torrents and free up space when used space exceeds the following ratio
ratio: 0.8,
// When freeing up space, delete all torrents with a share ratio higher than 10 first (set to 0 to disable)
// (criterion: when UploadedSize >= 10 * TotalSize, affects downloading torrents too)
maxShareRatio: 10,
// delete torrents with seed time higher than 86400 * 3 seconds
maxSeedTime: 86400 * 3 + /* (*/3600/*) buffer time*/,
// ignore (do not delete) all torrents with tag "keep" set
keepTag: "keep",
// exempt newly added torrents for 300s
newTorrentsTTL: 300,
// leave empty if not using basic auth
basicAuthUsername: "",
basicAuthPassword: "",
maxConcurrentHttpRequests: 8,
};