From c63216abdceb7678b4596f3f397f6f4e63425cbc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 21 Apr 2021 22:32:42 +0100 Subject: [PATCH] ITS#9529 pcache: update refresh_time after query refresh --- servers/slapd/overlays/pcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index ba411778f1..b1954f1ba9 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -3641,6 +3641,7 @@ consistency_check( */ if ( query->expiry_time > op->o_time ) { refresh_query( op, query, on ); + query->refresh_time = op->o_time + templ->ttr; } } }