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

noreply at rubyforge.org noreply at rubyforge.org
Wed Jan 9 08:35:04 EST 2008


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

Category: None
Group: None
>Status: Closed
>Resolution: Rejected
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



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

>Comment By: shunichi shinohara (shino)
Date: 2008-01-09 22:35

Message:
Thank you for the patch and notification to the mailing list.
This change was included in revision 365.
Please see http://rubyforge.org/pipermail/ap4r-devel/2007-December/000205.html for its diff.

Thanks again,
shino

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

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