Browse Source

绑定执行间隔时间调整到1秒,交易执行间隔时间调到10秒

lcl 1 năm trước cách đây
mục cha
commit
f05d57b11c

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpMerchantRecordService.cs

@@ -124,7 +124,7 @@ namespace MySystem
                 {
                     function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "同步SP商户记录数据到MAIN异常");
                 }
-                Thread.Sleep(10000);
+                Thread.Sleep(1000);
             }
         }
     }

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpTradeService.cs

@@ -580,7 +580,7 @@ namespace MySystem
                 {
                     function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "同步SP交易数据到MAIN异常");
                 }
-                Thread.Sleep(500);
+                Thread.Sleep(10000);
             }
         }