Commit c5f80b8aca56ce5f89ff489ee7508eb4f9019dd7

Authored by liquanyu
1 parent 9a338c2064
Exists in master and in 1 other branch dev

update code

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/SendMysqlSyncDatUtil.java View file @ c5f80b8
... ... @@ -78,7 +78,7 @@
78 78 while (true) {
79 79 try {
80 80 Thread.sleep(3000);
81   - request = syncSqlQueue.poll();
  81 + request = syncSqlQueue.take();
82 82 System.out.println(request);
83 83 String json = JsonUtil.obj2Str(request);
84 84 if (CollectionUtils.isNotEmpty(urls))