udev: timeout - increase timeout

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.
This commit is contained in:
Tom Gundersen
2014-09-10 10:56:26 +02:00
parent ec3281d3b6
commit b5338a1986

View File

@@ -74,7 +74,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);