Sha256: 5e88fb7d2a40da179ed25845f05698ac50f0ade482c917fd6af71e74379064ab
Contents?: true
Size: 435 Bytes
Versions: 12
Compression:
Stored size: 435 Bytes
Contents
module PerfectQueue class NullBackend < Backend def list(&block) nil end def acquire(timeout, now=Time.now.to_i) nil end def finish(token, delete_timeout=3600, now=Time.now.to_i) true end def update(token, timeout) nil end def cancel(id, delete_timeout=3600, now=Time.now.to_i) true end def submit(id, data, time=Time.now.to_i, resource=nil, max_running=nil) true end end end
Version data entries
12 entries across 12 versions & 1 rubygems