aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-10 10:56:26 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-09-10 21:38:36 -0400
commit17bd5427c1c9ef75b7d6e36b8f92d103a9f165ef (patch)
tree99253327f716d5c402e7ec4390cd3249cfc03aa0
parentudev: fix copy-paste error in log message (diff)
downloadeudev-v1.X.tar.gz
eudev-v1.X.tar.bz2
eudev-v1.X.zip
udev: timeout - increase timeoutv1.X
Some kernel modules still take more than one minute to insmod, we no longer rely on the timeout killing insmod within a given period of time, so just bump this to a much higher value. Its only purpose is to make sure that nothing stays aronud forever. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 142c0d09d..1ddb00753 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -73,7 +73,7 @@ static bool reload;
static int children;
static int children_max;
static int exec_delay;
-static usec_t event_timeout_usec = 60 * USEC_PER_SEC;
+static usec_t event_timeout_usec = 180 * USEC_PER_SEC;
static sigset_t sigmask_orig;
static UDEV_LIST(event_list);
static UDEV_LIST(worker_list);