core/device: Use JobRunningTimeoutSec= for device units

Device job timeouts should respect possible device job dependencies so we set
JobRunningTimeoutSec= by default.
This commit is contained in:
Michal Koutný
2017-04-25 18:00:36 +02:00
parent 4195077ab4
commit d9732d7803
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ static void device_init(Unit *u) {
* indefinitely for plugged in devices, something which cannot
* happen for the other units since their operations time out
* anyway. */
u->job_timeout = u->manager->default_timeout_start_usec;
u->job_running_timeout = u->manager->default_timeout_start_usec;
u->ignore_on_isolate = true;
}