We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58579e commit c2eeb7aCopy full SHA for c2eeb7a
worker/src/Worker/Program.cs
@@ -31,7 +31,8 @@ public static int Main(string[] args)
31
// Reconnect redis if down
32
if (redisConn == null || !redisConn.IsConnected) {
33
Console.WriteLine("Reconnecting Redis");
34
- redis = OpenRedisConnection("redis").GetDatabase();
+ redisConn = OpenRedisConnection("redis");
35
+ redis = redisConn.GetDatabase();
36
}
37
string json = redis.ListLeftPopAsync("votes").Result;
38
if (json != null)
0 commit comments