All,

    How do I set the client timeout?  I have seen reference to a method to the
effect of client.setTimeout(), but that doesn't seem to be in the API any more. 
 

My problem is that I've got a quartz (framework for running scheduled tasks) job
running in a webapp that is supposed to make a few REST calls and update a few
fields in a database each time the call returns.  But sometimes the client seems
to hang and never come back, and since I don't want my quartz job running
concurrently, the whole process stops and I've got to restart my webapp.  If I
could set a timeout on the client, then the quartz job could end, and I wouldn't
need to restart my webapp to fix it.  Any help would be greatly appreciated.

Thanks,
Dustin

Reply via email to