lib/resque/plugins/multi_step_task.rb
# Removes all data from redis related to this task.
Removes all data from redis related to this task.
Removes all data from redis related to this task .
def nuke
        redis.keys('*').each{|k| redis.del k}
        Resque.remove_queue queue_name
        self.class.redis.srem('active-tasks', task_id)
        self.class.redis.srem('finalizable-tasks', task_id)
      end
def nuke redis . keys ( '*' ) . each { | k | redis . del k } Resque . remove_queue queue_name self . class . redis . srem ( 'active-tasks' , task_id ) self . class . redis . srem ( 'finalizable-tasks' , task_id ) end
Removes all data from redis related to this task.
Removes all data from redis related to this task .