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 3db583a commit a8adf49Copy full SHA for a8adf49
content/en/examples/application/job/redis/worker.py
@@ -8,7 +8,7 @@
8
# import os
9
# host = os.getenv("REDIS_SERVICE_HOST")
10
11
-q = rediswq.RedisWQ(name="job2", host="redis")
+q = rediswq.RedisWQ(name="job2", host=host)
12
print("Worker with sessionID: " + q.sessionID())
13
print("Initial queue state: empty=" + str(q.empty()))
14
while not q.empty():
0 commit comments