Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
udev: bump event timeout to 60 seconds
  • Loading branch information
kaysievers committed Aug 30, 2014
1 parent be2ea72 commit 2e92633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/udev/udevadm-test.c
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/udev/udevd.c
Expand Up @@ -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);
Expand Down

0 comments on commit 2e92633

Please sign in to comment.