|
@@ -48,7 +48,7 @@ class SwooleAsyncTimer extends SwooleAsyncTimerComponent implements SocketInterf
|
|
|
*/
|
|
*/
|
|
|
public function timerCallback($timerId, $server){
|
|
public function timerCallback($timerId, $server){
|
|
|
// 自动封期
|
|
// 自动封期
|
|
|
-// AutoClosePeriod::instance()->autoClose();
|
|
|
|
|
|
|
+ AutoClosePeriod::instance()->autoClose();
|
|
|
// 自动执行任务队列中的任务
|
|
// 自动执行任务队列中的任务
|
|
|
Queue::instance()->consumeTask();
|
|
Queue::instance()->consumeTask();
|
|
|
// 实时监听计算系统修改的period表字段
|
|
// 实时监听计算系统修改的period表字段
|