module SidekiqScheduler::Worker::ClassMethods
def remove_delayed_from_timestamp(timestamp, *args)
def remove_delayed_from_timestamp(timestamp, *args) old_jobcount = jobs.size jobs.reject! { |job| job["class"] == self.name && job["timestamp"] == timestamp.to_i && job["args"] == args } old_jobcount - jobs.size end