Commit 63a76f07 authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent d9584102
......@@ -41,6 +41,7 @@ function callback($instance,$channelName,$message){
$redis->auth($conf['password']);
}
$redis->unsubscribe(array($redisPublishName));
$redis->close();
Signal::reset();
}
......@@ -55,4 +56,5 @@ if(!empty($conf['password'])){
//ini_set('default_socket_timeout', -1);(所有长连接不超时)
$redis->setOption(Redis::OPT_READ_TIMEOUT, -1);
$result=$redis->subscribe(array($redisPublishName), 'callback');
$redis->close();
echo 'abcdef'."\r\n";
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment