ソースを参照

fix redis connect

lushuncheng 6 年 前
コミット
af1dd27692
1 ファイル変更1 行追加1 行削除
  1. 1 1
      command/Start.php

+ 1 - 1
command/Start.php

@@ -209,7 +209,7 @@ class Start
     {
         if (static::$redis === null) {
             static::$redis = new Redis();
-            static::$redis->connect(Config::REDIS_HOST, Config::REDIS_PASS, 3);
+            static::$redis->connect(Config::REDIS_HOST, Config::REDIS_PORT, 3);
             static::$redis->auth(Config::REDIS_PASS);
         }
         return static::$redis;