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.
2 parents 86aa3af + c2eeb7a commit 9652ca5Copy full SHA for 9652ca5
worker/src/Worker/Program.cs
@@ -34,7 +34,8 @@ public static int Main(string[] args)
34
// Reconnect redis if down
35
if (redisConn == null || !redisConn.IsConnected) {
36
Console.WriteLine("Reconnecting Redis");
37
- redis = OpenRedisConnection("redis").GetDatabase();
+ redisConn = OpenRedisConnection("redis");
38
+ redis = redisConn.GetDatabase();
39
}
40
string json = redis.ListLeftPopAsync("votes").Result;
41
if (json != null)
0 commit comments