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.
1 parent 19c7267 commit 7767f30Copy full SHA for 7767f30
src/TaskHandler.php
@@ -108,7 +108,14 @@ private function handleTask(array $task): void
108
throw new UnexpectedValueException('Expected task name to be a string.');
109
}
110
111
- $job->setRetryUntil(CloudTasksApi::getRetryUntilTimestamp($taskName));
+ $fullTaskName = $this->client->taskName(
112
+ $this->config['project'],
113
+ $this->config['location'],
114
+ $job->getQueue() ?: $this->config['queue'],
115
+ $taskName,
116
+ );
117
+
118
+ $job->setRetryUntil(CloudTasksApi::getRetryUntilTimestamp($fullTaskName));
119
120
121
app('queue.worker')->process($this->config['connection'], $job, new WorkerOptions());
0 commit comments