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 08acfe6 commit df57780Copy full SHA for df57780
src/Actions/MakeQueueTenantAwareAction.php
@@ -141,7 +141,11 @@ protected function findTenant(JobProcessing|JobRetryRequested $event): IsTenant
141
protected function bindOrForgetCurrentTenant(JobProcessing|JobRetryRequested $event): void
142
{
143
if ($this->isTenantAware($event)) {
144
- $this->bindAsCurrentTenant($this->findTenant($event)->makeCurrent());
+ $tenant = $this->findTenant($event);
145
+
146
+ $tenant->makeCurrent();
147
148
+ $this->bindAsCurrentTenant($tenant);
149
150
return;
151
}
0 commit comments