We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d84358 commit a98afa2Copy full SHA for a98afa2
src/mutex/RedisMutex.php
@@ -50,7 +50,7 @@ protected function acquire(string $key, float $expire): bool
50
// 2.
51
$acquired = 0;
52
$errored = 0;
53
- $this->token = bin2hex(random_bytes(16));
+ $this->token = bin2hex(random_bytes(16)) . md5((string) $time);
54
$exception = null;
55
foreach ($this->redisAPIs as $index => $redisAPI) {
56
try {
0 commit comments