Ver Fonte

:art: 改进同步后台任务

Liang Ding há 2 anos atrás
pai
commit
d51d231efa
1 ficheiros alterados com 1 adições e 1 exclusões
  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()
-	if 5000 < elapsed {
+	if 7000 < elapsed {
 		logging.LogInfof("op tx [%dms]", elapsed)
 	}
 }