Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b2e21f9

Browse filesBrowse files
Use xxh128 instead of crc32c
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent bd6144e commit b2e21f9
Copy full SHA for b2e21f9

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Scheduler/RecurringMessage.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Scheduler/RecurringMessage.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static function trigger(TriggerInterface $trigger, object $message): self
8383
}
8484
}
8585

86-
return new self($trigger, new StaticMessageProvider([$message], hash('crc32c', serialize($message)), $description));
86+
return new self($trigger, new StaticMessageProvider([$message], strtr(substr(base64_encode(hash('xxh128', serialize($message), true)), 0, 7), '/+', '._'), -7), $description));
8787
}
8888

8989
public function withJitter(int $maxSeconds = 60): self

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.