]> git.proxmox.com Git - pve-cluster.git/commitdiff
qb_loop_timer_add: do not use small timeouts
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Dec 2015 12:34:33 +0000 (13:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Dec 2015 12:34:33 +0000 (13:34 +0100)
because callbacks seems to get skipped sometimes.

data/src/loop.c

index 18ac092b1013c44a3a342d32250055976da1a0e5..705cf4b758972d073d921a7d6154584c0f072141 100644 (file)
@@ -321,8 +321,8 @@ cfs_loop_worker_thread(gpointer data)
        }
 
        qb_loop_timer_handle th;
-       qb_loop_timer_add(qbloop, QB_LOOP_LOW, 1000, loop, service_start_job, &th);
-     
+       qb_loop_timer_add(qbloop, QB_LOOP_LOW, 10000000, loop, service_start_job, &th);
+
        qb_loop_timer_add(qbloop, QB_LOOP_LOW, 1000000000, loop, service_timer_job, &th);
 
        cfs_debug("start loop");