Enha: db use same connection to avoid db locking
This commit is contained in:
@ -28,6 +28,7 @@ func (cm *CronManager) Start() {
|
||||
cm.CleanupRooms()
|
||||
cm.CleanupActions()
|
||||
cm.CleanupPlayersRoom()
|
||||
ticker.Reset(30 * time.Second)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user