]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
knotd: cycle the interrupt-processing/start-detection loop faster
authorDavid Vašek <david.vasek@nic.cz>
Thu, 26 Jun 2025 19:47:23 +0000 (21:47 +0200)
committerDavid Vašek <david.vasek@nic.cz>
Thu, 17 Jul 2025 16:37:53 +0000 (18:37 +0200)
src/utils/knotd/main.c

index fa6eb3b9a5b8ee3d2246c742660127aa98ba3b77..de7a18239442da8c4e450e623f06b12d94c595f2 100644 (file)
@@ -316,7 +316,7 @@ static int event_loop(server_t *server, const char *socket, bool daemonize,
                        goto done;
                }
 
-               sleep(5); // wait for signals to arrive
+               sleep(2); // wait for signals to arrive
        }
 
        if (conf()->cache.srv_dbus_event & DBUS_EVENT_RUNNING) {