[ap4r-devel] [ ap4r-Patches-16844 ] retention_history patch for activesupport 2.0.2 compatibility

noreply at rubyforge.org noreply at rubyforge.org
Sat Jan 5 23:42:26 EST 2008


Patches item #16844, was opened at 2008-01-06 12:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=6912&aid=16844&group_id=1765

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Chi Lap Yip (beta)
Assigned to: Nobody (None)
Summary: retention_history patch for activesupport 2.0.2 compatibility

Initial Comment:
Patch to retention_history.rb so that activesupport 2.0.2  won't throw exception on sleep.

*** retention_history-original.rb	Sun Jan  6 12:31:22 2008
--- retention_history.rb	Sun Jan  6 12:31:39 2008
***************
*** 29,35 ****
        @collector = Thread.start do
          loop do
            begin
!             sleep LOOP_INTERVAL
              collect
              sweep
            rescue Exception => ex
--- 29,35 ----
        @collector = Thread.start do
          loop do
            begin
!             sleep LOOP_INTERVAL.to_i
              collect
              sweep
            rescue Exception => ex



----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=6912&aid=16844&group_id=1765


More information about the ap4r-devel mailing list