Class: Wurk::ScheduledSet
- Defined in:
- lib/wurk/scheduled_set.rb
Overview
ZSET of jobs scheduled to run at a future time (score = epoch seconds).
The scheduled-poller pops eligible members and re-enqueues via the
client. Wire-compat with Sidekiq's schedule key.
Spec: docs/target/sidekiq-free.md ยง19.5.
Instance Method Summary collapse
-
#initialize(name = 'schedule') ⇒ ScheduledSet
constructor
Optional
nameallows tests to operate on a namespaced ZSET; production callers always use the default'schedule'key (wire-compat with Sidekiq).
Constructor Details
#initialize(name = 'schedule') ⇒ ScheduledSet
Optional name allows tests to operate on a namespaced ZSET; production
callers always use the default 'schedule' key (wire-compat with Sidekiq).
14 15 16 |
# File 'lib/wurk/scheduled_set.rb', line 14 def initialize(name = 'schedule') super end |