Tobias von Dewitz 7 vuotta sitten
vanhempi
commit
55d5e78f71
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      lua/scw.lua

+ 1 - 2
lua/scw.lua

@@ -71,10 +71,9 @@ function scw(r)
   if pcall(function() redis_conn:ping() end) then
   if pcall(function() redis_conn:ping() end) then
     has_redis = true
     has_redis = true
   else
   else
-    io.stderr:write("reconnecting to redis\n")
+    -- io.stderr:write("reconnecting to redis\n")
     local redis_host = os.getenv("SCW_REDIS_HOST")
     local redis_host = os.getenv("SCW_REDIS_HOST")
     local redis_port = os.getenv("SCW_REDIS_PORT")
     local redis_port = os.getenv("SCW_REDIS_PORT")
-    io.stderr:write(string.format("redis host: %s\n", redis_host))
     if pcall(function() redis_conn = redis.connect(redis_host, 6379) end) then
     if pcall(function() redis_conn = redis.connect(redis_host, 6379) end) then
       has_redis = true
       has_redis = true
     end
     end