From d4973842c913ca79e21f7dd53fe1a4d5720886e3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 17 Feb 2019 15:18:20 +0100 Subject: [PATCH] Kernel: Run the sync daemon once every second. This is obviously not a final design, but 10 seconds was way too long. --- Kernel/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 6f58035d58..05e2c0a32e 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -160,7 +160,7 @@ VFS* vfs; Process::create_kernel_process("syncd", [] { for (;;) { Syscall::sync(); - sleep(10 * TICKS_PER_SECOND); + sleep(1 * TICKS_PER_SECOND); } }); Process::create_kernel_process("Finalizer", [] {