Explorar o código

fix redis connect

lushuncheng %!s(int64=6) %!d(string=hai) anos
pai
achega
af1dd27692
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;