8000 Fix delete method on RateLimiter's cache storage · symfony/symfony@fb540bb · GitHub
[go: up one dir, main page]

Skip to content

Commit fb540bb

Browse files
committed
Fix delete method on RateLimiter's cache storage
1 parent 7539325 commit fb540bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/RateLimiter/Storage/CacheStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ public function fetch(string $limiterStateId): ?LimiterStateInterface
5252

5353
public function delete(string $limiterStateId): void
5454
{
55-
$this->pool->deleteItem($limiterStateId);
55+
$this->pool->deleteItem(sha1($limiterStateId));
5656
}
5757
}

0 commit comments

Comments
 (0)
0