Skip to content

Commit 082562d

Browse files
author
alonexy
committed
fix: update
1 parent d74963c commit 082562d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ protected function clearCache (): void
202202
$pattern = "{$this->redisPrefix}filtered_policies:*";
203203
$cursor = 0;
204204
$batchSize = 50; // 每批处理的 key 数
205-
$maxIterations = 100;
205+
$maxIterations = 100; // 限制最大循环次数
206206
$iteration = 0;
207207
do {
208208
if ($iteration >= $maxIterations) {

0 commit comments

Comments
 (0)