浏览代码

Merge branch 'dev' of http://git.bocai108.com:10180/Ethan/Customer-Service into dev

Jonlin 6 年之前
父节点
当前提交
3ef9676b7c
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 5 - 4
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -1572,7 +1572,8 @@ class Events
             $allcont['accountslabel'] = $arr;
         }
 
-        self::DebugOut($allcont, "upsystemconfig .....");
+        echo date("Y-m-d H:i:s") . " upsystemconfig .....\n ";
+        //self::DebugOut($allcont, "upsystemconfig .....");
 
     }
 
@@ -1921,8 +1922,8 @@ class Events
 
                 //初始化.....
                 self::upsystemconfig();
-                //每3分钟更新一次系统配置文件
-                Timer::add(60 * 3, function () {
+                //每 5 分钟更新一次系统配置文件
+                Timer::add(60 * 5, function () {
                     self::upsystemconfig();
                 });
 
@@ -1983,7 +1984,7 @@ class Events
                 //初始化.....
                 self::upsystemconfig();
                 //每3分钟更新一次系统配置文件
-                Timer::add(60 * 3, function () {
+                Timer::add(60 * 5, function () {
                     self::upsystemconfig();
                 });