|
@@ -40,7 +40,7 @@ function app_redis()
|
|
|
// ping失败时警告:
|
|
|
// Warning: Redis::ping(): connect() failed: Connection refused
|
|
|
// var_dump('AAAAAAAAA', $redis);
|
|
|
- echo 'Redis 连接状态' . $redis->ping() . PHP_EOL;
|
|
|
+ // echo 'Redis 连接状态' . $redis->ping() . PHP_EOL;
|
|
|
@$redis->ping();
|
|
|
if (!$redis->ping()) {
|
|
|
goto connect; //跳转到标签出继续执行连接操作
|