ITS#10270 slapo-pcache: ttr was not being applied to negatively cached entries

This commit is contained in:
Andrew Elble 2024-10-11 08:37:13 -04:00 committed by Howard Chu
parent 72f184a0e3
commit 9b03791108

View file

@ -1580,6 +1580,8 @@ add_query(
case PC_NEGATIVE:
ttl = templ->negttl;
if ( templ->ttr )
ttr = now + templ->ttr;
break;
case PC_SIZELIMIT: