summaryrefslogtreecommitdiff
path: root/src/core/device.c
diff options
context:
space:
mode:
authorOleksii Shevchuk <alxchk@gmail.com>2013-11-04 18:47:43 +0200
committerLennart Poettering <lennart@poettering.net>2013-11-05 19:57:22 +0100
commit1f19a534ea84458670ec011f6d1ba96f76e3f783 (patch)
tree6edc40c4d9dc99f412e477d9e1af466e45cc5d93 /src/core/device.c
parent7b05894275bc1158d752098581295377f13e7c60 (diff)
Configurable Timeouts/Restarts default values
https://bugs.freedesktop.org/show_bug.cgi?id=71132 Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec configuration options to manager configuration file.
Diffstat (limited to 'src/core/device.c')
-rw-r--r--src/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c
index 05950153d3..6fc4c95ea0 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -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;