Skip to content
Discussion options

You must be logged in to vote

spatie/laravel-multitenancy defaults queues_are_tenant_aware_by_default => true, so every job expects a current tenant at run time. Jobs dispatched from a landlord/public context (e.g. a signup provisioning pipeline) have none and die. For landlord-heavy apps set it to false in config/multitenancy.php and opt in per-job via the TenantAware interface only where you need tenant context.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kevinchamplin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant