search for: rescued_timeout

Displaying 1 result from an estimated 1 matches for "rescued_timeout".

2006 Dec 15
3
can Timeout::timeout(...) be used in a Worker ?
Hi , I was wondering if anyone else has tried to use the Timeout::timeout method in a backgroundrb Worker and had Timeout raise an exception after the allotted amount of time . I ask because i have written a test script to make sure Timeout would work . I have tested the script by directly feeding it to ruby with : $ ruby test_script.rb and piping the script to the rails console: $