Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Peter Gengler
How to prevent timeout on send_later? [ reply ]  
2009-03-28 17:39
Hi,

I'm trying to use send_later to run a method in a model that monitors something that has a non-deterministic ending point; its getting started fine but as its polling for completion it eventually get's axed due to the default 60s timeout, even though its still behaving correctly.

What's the appropriate way to avoid this? I looked around but couldn't find any info on this topic. What I'd like to do is send a keep alive message, so that I can still detect hung threads, but can run an arbitrary amount of time. That possible at all?

Thanks,
\Peter