Skip to content

Commit

Permalink
Handle the startup case for rate limiter creation (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-sammons authored Feb 10, 2025
1 parent f60e4e5 commit 6e30b28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void updatePreprocessorCount() {
}

// Only recreate the rate limiter if we have to
if (preprocessorCountValue == lastKnownPreprocessorCount) {
if (preprocessorCountValue == lastKnownPreprocessorCount && rateLimiterPredicate != null) {
return;
}

Expand Down

0 comments on commit 6e30b28

Please sign in to comment.