search for: sessioncleanerworker

Displaying 1 result from an estimated 1 matches for "sessioncleanerworker".

Did you mean: session_cleaner_worker
2007 Jan 15
2
Backgroundrb keeps spawning processes
Hi! I''ve just a created a really simple rails scheduled worker for backgroundrb to start playing with : class SessionCleanerWorker < BackgrounDRb::Worker::RailsBase def do_work(args) logger.info "SessionCleaner> started" CGI::Session::ActiveRecordStore::Session.destroy_all( [''updated_at <?'', 120.minutes.ago] ) LoginToken.destroy_expired logger.info "SessionCleaner&...