Skip to content

Commit

Permalink
no reason not to prefer unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jun 27, 2024
1 parent 9ebabc3 commit cdc7644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/job/iterable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def cleanup
logger.debug {
format("Completed iteration. executions=%d runtime=%.3f", @_executions, @_runtime)
}
Sidekiq.redis { |conn| conn.del(iteration_key) }
Sidekiq.redis { |conn| conn.unlink(iteration_key) }
end

def handle_completed(completed)
Expand Down

0 comments on commit cdc7644

Please sign in to comment.