自动对访问日志进行分表

This commit is contained in:
GoEdgeLab
2022-03-08 19:55:39 +08:00
parent 54a3264802
commit 45adeec1c2
10 changed files with 582 additions and 245 deletions

View File

@@ -9,7 +9,7 @@ func TestLogTask_loopClean(t *testing.T) {
dbs.NotifyReady()
task := NewLogTask()
err := task.loopClean(5)
err := task.loopClean()
if err != nil {
t.Fatal(err)
}