Change defaults
This commit is contained in:
@@ -98,7 +98,7 @@ func (z *ZurgConfig) GetProxy() string {
|
||||
|
||||
func (z *ZurgConfig) GetNumOfWorkers() int {
|
||||
if z.NumOfWorkers == 0 {
|
||||
return 50
|
||||
return 32
|
||||
}
|
||||
return z.NumOfWorkers
|
||||
}
|
||||
@@ -112,7 +112,7 @@ func (z *ZurgConfig) GetRefreshEverySeconds() int {
|
||||
|
||||
func (z *ZurgConfig) GetRepairEveryMinutes() int {
|
||||
if z.RepairEveryMins == 0 {
|
||||
return 10
|
||||
return 60
|
||||
}
|
||||
return z.RepairEveryMins
|
||||
}
|
||||
@@ -127,7 +127,7 @@ func (z *ZurgConfig) GetOnLibraryUpdate() string {
|
||||
|
||||
func (z *ZurgConfig) GetNetworkBufferSize() int {
|
||||
if z.NetworkBufferSize == 0 {
|
||||
return 64 * 1024 // 64kb
|
||||
return 1024 * 1024 * 4 // 4MB
|
||||
}
|
||||
return z.NetworkBufferSize
|
||||
}
|
||||
@@ -158,7 +158,7 @@ func (z *ZurgConfig) ShouldForceIPv6() bool {
|
||||
|
||||
func (z *ZurgConfig) GetRetriesUntilFailed() int {
|
||||
if z.RetriesUntilFailed == 0 {
|
||||
return 5
|
||||
return 2
|
||||
}
|
||||
return z.RetriesUntilFailed
|
||||
}
|
||||
@@ -169,7 +169,7 @@ func (z *ZurgConfig) EnableDownloadMount() bool {
|
||||
|
||||
func (z *ZurgConfig) GetRealDebridTimeout() int {
|
||||
if z.RealDebridTimeout == 0 {
|
||||
return 10
|
||||
return 4
|
||||
}
|
||||
return z.RealDebridTimeout
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user