We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a452926 + a9396a8 commit 8b254edCopy full SHA for 8b254ed
classes/mutex/RedisMutex.php
@@ -76,7 +76,7 @@ protected function acquire(string $key, int $expire): bool
76
// 2.
77
$acquired = 0;
78
$errored = 0;
79
- $this->token = random_bytes(16);
+ $this->token = bin2hex(random_bytes(16));
80
$exception = null;
81
foreach ($this->redisAPIs as $index => $redisAPI) {
82
try {
0 commit comments