数据库可以手工清理

This commit is contained in:
刘祥超
2021-01-19 16:13:04 +08:00
parent 8bd22b06cf
commit 99073b98d6
5 changed files with 126 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ func (this *ServerAccessLogCleaner) cleanDB(db *dbs.DB, endDay string) error {
if len(tableName) == 0 {
continue
}
ok, err := regexp.MatchString(`^edgeHTTPAccessLogs_(\d{8})$`, tableName)
ok, err := regexp.MatchString(`^(?i)edgeHTTPAccessLogs_(\d{8})$`, tableName)
if err != nil {
return err
}