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

=?UTF-8?Q?=22=E8=91=89=E5=BF=97=E7=AB=8B_YIP_Chi_Lap_ =?UTF-8?Q?=22=E8=91=89=E5=BF=97=E7=AB=8B_YIP_Chi_Lap_
Sat Jan 5 23:52:52 EST 2008


Hi,

     Just submitted a small patch.

葉志立 YIP Chi Lap [Beta]
Technology Officer
beta at emacsian.com
http://web.emacsian.com/


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



More information about the ap4r-devel mailing list