Skip to content

Commit

Permalink
Merge pull request #2878 from tediou5/fix-caches-reinitialization-wai…
Browse files Browse the repository at this point in the history
…t-delay

fix: caches maintainer wait for sheduled delay timeout to reinitialization
  • Loading branch information
nazar-pc authored Jun 26, 2024
2 parents ee13cb8 + efde174 commit 7f0d8e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub(super) async fn maintain_caches(
loop {
if cache_reinitialization.is_terminated()
&& let Some(time) = scheduled_reinitialization_for
&& time >= Instant::now()
&& time <= Instant::now()
{
scheduled_reinitialization_for.take();

Expand Down

0 comments on commit 7f0d8e4

Please sign in to comment.