Kaynağa Gözat

fix redis connect

lushuncheng 6 yıl önce
ebeveyn
işleme
af1dd27692
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;