1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00

Kernel: Run the sync daemon once every second.

This is obviously not a final design, but 10 seconds was way too long.
This commit is contained in:
Andreas Kling 2019-02-17 15:18:20 +01:00
parent 8eedbbc9ca
commit d4973842c9

View file

@ -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", [] {