]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#9878 Treat tasks with interval == 0 as one-shot
authorOndřej Kuzník <ondra@mistotebe.net>
Wed, 7 Sep 2022 08:53:57 +0000 (09:53 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Thu, 8 Sep 2022 07:31:22 +0000 (08:31 +0100)
commit29c3a443d8a84581127e5fa9057028c4760c96dc
treef33a8143ebdd4a6bfbeba8e5b8e35fd439786d58
parent294a16c10c28d461c9e29c654fef96fc4128aec8
ITS#9878 Treat tasks with interval == 0 as one-shot

Some tasks need to be run once at a given time or the earliest
opportunity, also currently, using interval == 0 on a task triggers
a busy loop inside the scheduling task, halting progress for other
tasks and any other work usually serviced by that thread.

This change deals with both issues at the same time.
servers/slapd/daemon.c