mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-21 12:14:45 +08:00
优化数据库模块空闲时占有过多cpu
This commit is contained in:
@@ -305,7 +305,6 @@ func (slf *BaseModule) RunModule(module IModule) error {
|
||||
GetLogger().Printf(LEVER_WARN, "stopping module %s...", fmt.Sprintf("%T", slf))
|
||||
fmt.Println("stopping module %s...", fmt.Sprintf("%T", slf))
|
||||
return nil
|
||||
default:
|
||||
}
|
||||
if module.OnRun() == false {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user