Class: Wurk::RetrySet
Overview
ZSET keyed by next-retry timestamp (score = epoch seconds). Wire-compat
with Sidekiq — the retry key, score format, and JSON payload all match.
Spec: docs/target/sidekiq-free.md §19.5.
Instance Method Summary collapse
-
#initialize(name = 'retry') ⇒ RetrySet
constructor
Optional
nameallows tests to operate on a namespaced ZSET; production callers always use the default'retry'key (wire-compat with Sidekiq).
Constructor Details
#initialize(name = 'retry') ⇒ RetrySet
Optional name allows tests to operate on a namespaced ZSET; production
callers always use the default 'retry' key (wire-compat with Sidekiq).
13 14 15 |
# File 'lib/wurk/retry_set.rb', line 13 def initialize(name = 'retry') super end |