mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-14 08:13:10 -05:00
ITS#10270 slapo-pcache: ttr was not being applied to negatively cached entries
This commit is contained in:
parent
72f184a0e3
commit
9b03791108
1 changed files with 2 additions and 0 deletions
|
|
@ -1580,6 +1580,8 @@ add_query(
|
|||
|
||||
case PC_NEGATIVE:
|
||||
ttl = templ->negttl;
|
||||
if ( templ->ttr )
|
||||
ttr = now + templ->ttr;
|
||||
break;
|
||||
|
||||
case PC_SIZELIMIT:
|
||||
|
|
|
|||
Loading…
Reference in a new issue