Skip to content

Commit 9c84cd0

Browse files
Update RateLimited.php
1 parent 58d2da1 commit 9c84cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Queue/Middleware/RateLimited.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function handle($job, $next)
6767
$next,
6868
collect(Arr::wrap($limiterResponse))->map(function ($limit) {
6969
return (object) [
70-
'key' => hash('xxh128', $this->limiterName.$limit->key),
70+
'key' => md5($this->limiterName.$limit->key),
7171
'maxAttempts' => $limit->maxAttempts,
7272
'decaySeconds' => $limit->decaySeconds,
7373
];

0 commit comments

Comments
 (0)