Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits: 29c3a443 by Ondřej Kuzník at 2022-09-08T08:31:22+01:00 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.
- - - - - fa8cb31e by Ondřej Kuzník at 2022-09-08T08:31:22+01:00 ITS#9878 One-shot tasks are now possible with interval == 0
- - - - - 3ad71958 by Ondřej Kuzník at 2022-09-08T08:31:22+01:00 ITS#9878 We no longer have to trigger li->li_conn_expire_task twice
- - - - -
5 changed files:
- servers/slapd/back-ldap/bind.c - servers/slapd/back-mdb/config.c - servers/slapd/back-wt/config.c - servers/slapd/daemon.c - servers/slapd/overlays/accesslog.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/compare/294a16c10c28d461c9e29c6...