Nonblocking disabled
This commit is contained in:
@@ -51,7 +51,7 @@ func MainApp(configPath string) {
|
||||
premium.MonitorPremiumStatus(rd, zurglog)
|
||||
|
||||
workerOptions := ants.Options{
|
||||
Nonblocking: true,
|
||||
// Nonblocking: true,
|
||||
PanicHandler: func(i interface{}) {},
|
||||
Logger: log.Named("worker"),
|
||||
}
|
||||
@@ -64,7 +64,7 @@ func MainApp(configPath string) {
|
||||
defer workerPool.Release()
|
||||
|
||||
refreshOptions := ants.Options{
|
||||
Nonblocking: true,
|
||||
// Nonblocking: true,
|
||||
PanicHandler: func(i interface{}) {},
|
||||
Logger: log.Named("refreshworker"),
|
||||
}
|
||||
@@ -78,7 +78,7 @@ func MainApp(configPath string) {
|
||||
defer refreshPool.Release()
|
||||
|
||||
repairOptions := ants.Options{
|
||||
Nonblocking: true,
|
||||
// Nonblocking: true,
|
||||
PanicHandler: func(i interface{}) {},
|
||||
Logger: log.Named("repairworker"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user