afs: Increase default sched timount.
authorAndre Noll <maan@systemlinux.org>
Wed, 24 Oct 2007 12:12:11 +0000 (14:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 24 Oct 2007 12:12:11 +0000 (14:12 +0200)
1 second is fine.

afs.c

diff --git a/afs.c b/afs.c
index 3d0d2d7..9d235b3 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -969,7 +969,7 @@ __noreturn void afs_init(uint32_t cookie, int socket_fd)
        init_admissible_files();
        register_tasks(cookie);
        s.default_timeout.tv_sec = 0;
-       s.default_timeout.tv_usec = 99 * 1000;
+       s.default_timeout.tv_usec = 999 * 1000;
        ret = sched(&s);
        if (ret < 0)
                PARA_EMERG_LOG("%s\n", PARA_STRERROR(-ret));