audiod: Increase default select timeout to 1s.
authorAndre Noll <maan@systemlinux.org>
Sun, 19 Jul 2009 12:12:14 +0000 (14:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 19 Jul 2009 12:12:14 +0000 (14:12 +0200)
This was set to 99ms only for debugging purposes three years ago...

audiod.c

index 3d0cd64..27c153d 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -1234,7 +1234,7 @@ int main(int argc, char *argv[])
        register_task(&cmd_task->task);
        register_task(&stat_task->task);
        s.default_timeout.tv_sec = 0;
-       s.default_timeout.tv_usec = 99 * 1000;
+       s.default_timeout.tv_usec = 999 * 1000;
        ret = schedule(&s);
 
        PARA_EMERG_LOG("%s\n", para_strerror(-ret));