Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source
Show
Ignore:
Timestamp:
07/27/07 23:30:32 (1 year ago)
Author:
minam
Message:

make sure we poll at least once per second

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cap2-on-netssh2/lib/capistrano/gateway.rb

    r7245 r7247  
    5656            logger.trace "gateway connection established" if logger 
    5757            mutex.synchronize { waiter.signal } 
    58             @session.loop do 
    59               !@terminate_thread 
    60             end 
     58            @session.loop(1) { !@terminate_thread } 
    6159          end 
    6260        end