Archived
Ping handling changes in protocol, removed from config here
This commit is contained in:
1 parent
24d2a93c0d
commit
acba61babb
7 files changed
+58
-163
No files matched your search
@@ -577,9 +577,6 @@ func syncthingMain() {
|
||||
symlinks.Supported = false
|
||||
}
|
||||
|
||||
protocol.PingTimeout = time.Duration(opts.PingTimeoutS) * time.Second
|
||||
protocol.PingIdleTime = time.Duration(opts.PingIdleTimeS) * time.Second
|
||||
|
||||
if opts.MaxSendKbps > 0 {
|
||||
writeRateLimit = ratelimit.NewBucketWithRate(float64(1000*opts.MaxSendKbps), int64(5*1000*opts.MaxSendKbps))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user