chiark / gitweb /
udev: bump event timeout to 60 seconds
authorKay Sievers <kay@vrfy.org>
Sat, 30 Aug 2014 09:36:32 +0000 (11:36 +0200)
committerKay Sievers <kay@vrfy.org>
Sat, 30 Aug 2014 09:36:32 +0000 (11:36 +0200)
src/udev/udevadm-test.c
src/udev/udevd.c

index 8486049..809adb6 100644 (file)
@@ -136,7 +136,7 @@ static int adm_test(struct udev *udev, int argc, char *argv[]) {
                 goto out;
         }
 
-        udev_event_execute_rules(event, 30 * USEC_PER_SEC, rules, &sigmask_orig);
+        udev_event_execute_rules(event, 60 * USEC_PER_SEC, rules, &sigmask_orig);
 
         udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev))
                 printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry));
index 9c2b0d5..e72c5b2 100644 (file)
@@ -73,7 +73,7 @@ static bool reload;
 static int children;
 static int children_max;
 static int exec_delay;
-static usec_t event_timeout_usec = 30 * USEC_PER_SEC;
+static usec_t event_timeout_usec = 60 * USEC_PER_SEC;
 static sigset_t sigmask_orig;
 static UDEV_LIST(event_list);
 static UDEV_LIST(worker_list);