Peek-delayed only looks at the currently used tube. Try the "use" command to switch tubes.
kr On Fri, Sep 11, 2009 at 5:07 AM, trak3r <[email protected]> wrote: > > here's a quick console session showing what I mean: > > $ script/console production > Loading production environment (Rails 2.3.2) >>> beanstalk = AsyncObserver::Queue.queue > => #<Beanstalk::Pool:0x2b037a599658 @default_tube=nil, @addrs= > ["X.X.X.X:X"], @watch_list=["default"], @connections= > {"X.X.X.X:X"=>#<Beanstalk::Connection:0x2b037a599518 > @socket=#<TCPSocket:0x2b037a599388>, @addr="X.X.X.X:X", > @waiting=false, @watch_list=["default"], @last_used="default">}> >>> beanstalk.stats['current-jobs-delayed'] > => 13 >>> beanstalk.peek_delayed > => nil > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en -~----------~----~----~----~------~----~------~--~---
