udev: bump event timeout to 60 seconds

This commit is contained in:
Kay Sievers
2014-08-30 11:36:32 +02:00
parent be2ea723b1
commit 2e92633dba
2 changed files with 2 additions and 2 deletions

View 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));

View 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);