[Backgroundrb-devel] worker and sleep

Meng Kuan mengkuan at gmail.com
Fri Jan 25 04:45:09 EST 2008

Hi Hermant,

I have seen some earlier messages in the list where you warned people  
never to use sleep() in workers. However, currently I have a need for  
a worker to issue a command to an external host and then keep  
checking that external host for a status change. Other than sleep,  
what else can be used to make a worker wait some time (say 1 second)  
between checks?


More information about the Backgroundrb-devel mailing list