Class: Wurk::ScheduledSet

Inherits:
JobSet show all
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

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