mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update tool_migrate.py
This commit is contained in:
@@ -167,7 +167,7 @@ def migrateSiteHotLogs(site_name, query_date):
|
|||||||
# 3. 删除已迁移的数据并清理统计(仅 DELETE/VACUUM 期间互斥)
|
# 3. 删除已迁移的数据并清理统计(仅 DELETE/VACUUM 期间互斥)
|
||||||
try:
|
try:
|
||||||
mw.writeFile(migrating_flag, "yes")
|
mw.writeFile(migrating_flag, "yes")
|
||||||
time.sleep(0.5)
|
time.sleep(1)
|
||||||
|
|
||||||
hot_db_conn = pSqliteDb('web_logs', site_name)
|
hot_db_conn = pSqliteDb('web_logs', site_name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user