写个死循环利用redis处理队列,但是写在死循环中的定时器不会异步执行 必须要把死循环break了才能执行...
$ws_worker->onConnect = function ($connection){ global $ws_worker; $key = 'connection_'.SERVER_ID.'_'.$ws_worker->id.'_'.$connection->id; //111111111111111111111111111111111111111111111111 ...