Yep, how about adding
"Run this to expire all old keys
Sidekiq.redis{ |r| (r.keys("stat:processed:*") +
r.keys("stat:failed:*")).each { |k|
r.expire(k, Sidekiq::Processor::STATS_TIMEOUT) } }
"
to the Changelog ?



On Fri, May 31, 2013 at 9:49 AM, Mike Perham <notifications@github.com>wrote:

> In lib/sidekiq/api.rb:
>
> > @@ -62,24 +56,6 @@ def failed
> >          date_stat_hash("failed")
> >        end
> >
> > -      def self.cleanup
>
> Since we are removing cleanup, we'll orphan up to 360 existing keys in
> Redis for existing users, right?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mperham/sidekiq/pull/971/files#r4480661>
> .
>