diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-24 02:41:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-24 02:41:38 +0100 |
commit | 312732cfaf63b463b2062c47fddb2d639a5fe635 (patch) | |
tree | 8354038ee198dc1b8ed6e100e9b9c9797b26d55f /src/job.c | |
parent | 5f8738667f3b4a1606fd714d3da6cac5784c4053 (diff) |
job: start job timeout on enqueuing not when we start to process a job
This practically reverses 23e1e0c4a3bc93fb841ac9575953ed5d0ef5282d.
This makes it easier to timeout individual jobs so that this timeout can
be relied on, since blocked dependencies will not influence the timeout.
Diffstat (limited to 'src/job.c')
-rw-r--r-- | src/job.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -461,8 +461,6 @@ int job_run_and_invalidate(Job *j) { j->state = JOB_WAITING; else if (r < 0) r = job_finish_and_invalidate(j, JOB_FAILED); - else - job_start_timer(j); } return r; |