Skip to content

Commit 836fb1c

Browse files
authored
Merge pull request #27246 from vajdaz/master
Fix typo in worker.py example script
2 parents 5d2f1a3 + a8adf49 commit 836fb1c

File tree

1 file changed

+1
-1
lines changed
  • content/en/examples/application/job/redis

1 file changed

+1
-1
lines changed

content/en/examples/application/job/redis/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# import os
99
# host = os.getenv("REDIS_SERVICE_HOST")
1010

11-
q = rediswq.RedisWQ(name="job2", host="redis")
11+
q = rediswq.RedisWQ(name="job2", host=host)
1212
print("Worker with sessionID: " + q.sessionID())
1313
print("Initial queue state: empty=" + str(q.empty()))
1414
while not q.empty():

0 commit comments

Comments
 (0)