modify
This commit is contained in:
@@ -62,6 +62,7 @@ class Zookeeper extends Process
|
|||||||
*/
|
*/
|
||||||
private function dispatch($server, $redis, $setting, $value)
|
private function dispatch($server, $redis, $setting, $value)
|
||||||
{
|
{
|
||||||
|
var_dump($value);
|
||||||
$server->sendMessage(swoole_serialize([
|
$server->sendMessage(swoole_serialize([
|
||||||
'action' => 'crontab', 'handler' => swoole_unserialize($redis->get('crontab:' . $value))
|
'action' => 'crontab', 'handler' => swoole_unserialize($redis->get('crontab:' . $value))
|
||||||
]), random_int(0, $setting - 1));
|
]), random_int(0, $setting - 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user