mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 19:16:35 +08:00
refactoring scheduled tasks
This commit is contained in:
@@ -16,7 +16,7 @@ func (c *cronServer) deleteMsg() {
|
||||
ctx := mcontext.SetOperationID(c.ctx, operationID)
|
||||
log.ZDebug(ctx, "Destruct chat records", "deltime", deltime, "timestamp", deltime.UnixMilli())
|
||||
const (
|
||||
deleteCount = 20
|
||||
deleteCount = 200
|
||||
deleteLimit = 50
|
||||
)
|
||||
var count int
|
||||
|
||||
Reference in New Issue
Block a user