Support rebooting workers
This commit is contained in:
@@ -177,21 +177,21 @@ func (z *ZurgConfig) EnableDownloadMount() bool {
|
||||
|
||||
func (z *ZurgConfig) GetApiTimeoutSecs() int {
|
||||
if z.ApiTimeoutSecs == 0 {
|
||||
return 30
|
||||
return 15
|
||||
}
|
||||
return z.ApiTimeoutSecs
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) GetDownloadTimeoutSecs() int {
|
||||
if z.DownloadTimeoutSecs == 0 {
|
||||
return 15
|
||||
return 10
|
||||
}
|
||||
return z.DownloadTimeoutSecs
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) GetRateLimitSleepSecs() int {
|
||||
if z.RateLimitSleepSecs == 0 {
|
||||
return 4
|
||||
return 6
|
||||
}
|
||||
return z.RateLimitSleepSecs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user