Skip to content

Commit

Permalink
fix(retry): pass right redis command name into retryJob script (#2321)…
Browse files Browse the repository at this point in the history
… [python]
  • Loading branch information
roggervalf authored Dec 10, 2023
1 parent 96adcc9 commit 6bb21a0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docs/gitbook/guide/redis-tm-hosting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ description: >-
---

# Redis™ hosting

1 change: 0 additions & 1 deletion docs/gitbook/guide/redis-tm-hosting/aws-elasticache.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# AWS Elasticache

2 changes: 1 addition & 1 deletion python/bullmq/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def retryJobArgs(self, job_id: str, lifo: bool, token: str):
keys.append(self.keys['prioritized'])
keys.append(self.keys['pc'])

push_cmd = "R" if lifo else "L"
push_cmd = "RPUSH" if lifo else "LPUSH"

args = [self.keys[''], round(time.time() * 1000), push_cmd,
job_id, token]
Expand Down

0 comments on commit 6bb21a0

Please sign in to comment.