Bug #115

Time out not working

Added by Michael Mueller about 1 year ago. Updated about 1 year ago.

Status:Closed Start:06/15/2009
Priority:High Due date:
Assigned to:Luca Corbo % Done:

0%

Category:Core Spent time: -
Target version:1.3.4
Resolution:fixed

Description

Hi, I installed 1.3.3 to use the time out facility. Upon testing however I found that all jobs timeout immediately.
checking the code I found a few things
in the dbUtils module getJobsTimeout function
the timeout param is multiplied by 3600, this would make it hours rather then minutes as time() (on my boxes anyway returns seconds since 1970)
this should be changed to 60 to give minutes

the sql statement in the same function has
"and a.start_exec > " $timeout

but which will be true for every job running
I think it should be
"and a.start_exec < " $timeout

Making the changes on my system seems to work ok.

History

Updated by Luca Corbo about 1 year ago

  • Category set to Core
  • Assigned to set to Luca Corbo
  • Target version set to 1.3.4

Updated by Luca Corbo about 1 year ago

  • Status changed from New to Closed
  • Resolution set to fixed

Added in r685.
The fix will appear in the package's next release.
Thank you for the report and for helping us make Ortro better.

Also available in: Atom PDF