Skip to content

Commit df57780

Browse files
committed
wip
1 parent 08acfe6 commit df57780

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Actions/MakeQueueTenantAwareAction.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,11 @@ protected function findTenant(JobProcessing|JobRetryRequested $event): IsTenant
141141
protected function bindOrForgetCurrentTenant(JobProcessing|JobRetryRequested $event): void
142142
{
143143
if ($this->isTenantAware($event)) {
144-
$this->bindAsCurrentTenant($this->findTenant($event)->makeCurrent());
144+
$tenant = $this->findTenant($event);
145+
146+
$tenant->makeCurrent();
147+
148+
$this->bindAsCurrentTenant($tenant);
145149

146150
return;
147151
}

0 commit comments

Comments
 (0)