Skip to content

Commit

Permalink
fix: minor ack bug on redis (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
geofmureithi authored Nov 28, 2024
1 parent 55d319f commit 094938d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apalis-redis/lua/retry_job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if removed == 1 then

-- Save the result of the job
local ns = "::result"
redis.call("hmset", KEYS[3].. ns, ARGV[1], ARGV[4] )
redis.call("hmset", KEYS[3] .. ns, ARGV[1], ARGV[3] )

end

Expand Down
1 change: 1 addition & 0 deletions packages/apalis-redis/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ where
.await
}
_ => {
// TODO: Increase the attempts
let retry_job = self.scripts.retry_job.clone();
let retry_jobs_set = &self.config.scheduled_jobs_set();
retry_job
Expand Down

0 comments on commit 094938d

Please sign in to comment.