Skip to content

Instantly share code, notes, and snippets.

@kano4
Created March 5, 2012 15:00
Show Gist options
  • Select an option

  • Save kano4/1978645 to your computer and use it in GitHub Desktop.

Select an option

Save kano4/1978645 to your computer and use it in GitHub Desktop.
Clean resque worker
#Resque.workers.first.prune_dead_workers
#Resque::Stat.clear("failed")
#Resque::Stat.clear("processed")
redis = Redis.new
redis.flushall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment