Permalink
Browse files

udev: bump event timeout to 60 seconds

  • Loading branch information...
kaysievers committed Aug 30, 2014
1 parent be2ea72 commit 2e92633dbae52f5ac9b7b2e068935990d475d2cd
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/udev/udevadm-test.c
  2. +1 −1 src/udev/udevd.c
@@ -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));
@@ -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);

0 comments on commit 2e92633

Please sign in to comment.