chiark / gitweb /
Configurable Timeouts/Restarts default values
[elogind.git] / src / core / device.c
index 05950153d3c531a70ec335278f40da18ca76d630..6fc4c95ea0388e1bee3e4806618489b33326dd19 100644 (file)
@@ -70,7 +70,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. */
-        UNIT(d)->job_timeout = DEFAULT_TIMEOUT_USEC;
+        UNIT(d)->job_timeout = u->manager->default_timeout_start_usec;
 
         UNIT(d)->ignore_on_isolate = true;
         UNIT(d)->ignore_on_snapshot = true;