Skip to content

Commit e2ea98e

Browse files
Update CloudTasksQueue.php
use milliseconds to avoid duplicate task name
1 parent 1aca01b commit e2ea98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CloudTasksQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function taskName(string $queueName, array $payload): string
200200
$this->config['project'],
201201
$this->config['location'],
202202
$queueName,
203-
$displayName . '-' . $payload['uuid'] . '-' . Carbon::now()->getTimestamp(),
203+
$displayName . '-' . $payload['uuid'] . '-' . Carbon::now()->getTimeStampMs(),
204204
);
205205
}
206206

0 commit comments

Comments
 (0)