Hi, I''m exhausting the number of timers available which, from the code, seems to be 1000 on *nix (MaxOutstandingTimers). Is there a way I could configure more timers, for example by setting an attribute? Or is the only option to modify the C++ code? Thanks, Matthieu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20071118/d432815e/attachment.html
On Nov 19, 2007 12:58 AM, Matthieu Riou <matthieu at offthelip.org> wrote:> Hi, > > I''m exhausting the number of timers available which, from the code, seems to > be 1000 on *nix (MaxOutstandingTimers). Is there a way I could configure > more timers, for example by setting an attribute? Or is the only option to > modify the C++ code? >I really should add a Ruby option to expand this value.
On Nov 19, 2007 12:58 AM, Matthieu Riou <matthieu at offthelip.org> wrote:> Hi, > > I''m exhausting the number of timers available which, from the code, seems to > be 1000 on *nix (MaxOutstandingTimers). Is there a way I could configure > more timers, for example by setting an attribute? Or is the only option to > modify the C++ code? > > Thanks, > MatthieuSync to the HEAD revision and look at EventMachine::set_max_timers. Documented in the rdoc. Use case in tests/test_timers.rb. Let me know if it works for you.
On Nov 19, 2007 6:12 AM, Francis Cianfrocca <garbagecat10 at gmail.com> wrote:> > Sync to the HEAD revision and look at EventMachine::set_max_timers. > Documented in the rdoc. Use case in tests/test_timers.rb. Let me know > if it works for you.Works like a charm. Thanks for the fix! Matthieu> > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20071119/bc4724ae/attachment.html