|
|
@@ -47,9 +47,9 @@ class SwooleAsyncTimer extends SwooleAsyncTimerComponent implements SocketInterf
|
|
|
*/
|
|
|
public function timerCallback($timerId, $server){
|
|
|
// 自动封期
|
|
|
- file_put_contents('aaa.txt', var_export([
|
|
|
- 'time' => date('Y-m-d H:i:s')
|
|
|
- ],true),FILE_APPEND);
|
|
|
+ // file_put_contents('aaa.txt', var_export([
|
|
|
+ // 'time' => date('Y-m-d H:i:s')
|
|
|
+ // ],true),FILE_APPEND);
|
|
|
AutoClosePeriod::instance()->autoClose();
|
|
|
// 自动执行任务队列中的任务
|
|
|
Queue::instance()->consumeTask();
|