Commit 4a804e1b by 泽锋 李

fix

parent a1297959
...@@ -1078,7 +1078,7 @@ from dc_auto_turnover where gmt_modified>=@btime and gmt_modified<=@etime ...@@ -1078,7 +1078,7 @@ from dc_auto_turnover where gmt_modified>=@btime and gmt_modified<=@etime
public static void WaitTurnoverQueueTask() public static void WaitTurnoverQueueTask()
{ {
// 每秒检查一次 // 每秒检查一次
Thread.Sleep(1 * 1000); Thread.Sleep(10 * 1000);
var count = _connection.QueryFirstOrDefault<int>(" select count(1) from dc_base_queue where consume_date is null ", commandTimeout: 0); var count = _connection.QueryFirstOrDefault<int>(" select count(1) from dc_base_queue where consume_date is null ", commandTimeout: 0);
if (count > 0) if (count > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment