Bug #115
Time out not working
| 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 {{author}} {{age}} ago
- {{label}} set to {{value}}
- {{label}} set to {{value}}
- {{label}} set to {{value}}