Browse Source

:art: 改进同步后台任务

Liang Ding 2 years ago
parent
commit
d51d231efa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kernel/sql/queue.go

+ 1 - 1
kernel/sql/queue.go

@@ -135,7 +135,7 @@ func FlushQueue() {
 	}
 	}
 
 
 	elapsed := time.Now().Sub(start).Milliseconds()
 	elapsed := time.Now().Sub(start).Milliseconds()
-	if 5000 < elapsed {
+	if 7000 < elapsed {
 		logging.LogInfof("op tx [%dms]", elapsed)
 		logging.LogInfof("op tx [%dms]", elapsed)
 	}
 	}
 }
 }