mirror of
https://github.com/stancl/tenancy-docs.git
synced 2026-02-04 16:34:02 +00:00
Add note about Horizon being used in the central app
This commit is contained in:
parent
2769460a1a
commit
72944c3916
1 changed files with 3 additions and 2 deletions
|
|
@ -5,12 +5,13 @@ section: content
|
||||||
---
|
---
|
||||||
|
|
||||||
# Laravel Horizon {#laravel-horizon}
|
# Laravel Horizon {#laravel-horizon}
|
||||||
|
> Note: **Horizon is used in the central app**. You can separate the jobs by [tagging them with tenant IDs](#tags).
|
||||||
|
|
||||||
Make sure your [queues]({{ $page->link('queues') }}) are configured correctly before using this.
|
Make sure your [queues]({{ $page->link('queues') }}) are configured correctly before using this.
|
||||||
|
|
||||||
## Tags {#tags}
|
## Tags {#tags}
|
||||||
|
|
||||||
You may add the current tenant's id to your job tags by defining a `tags` method on the class:
|
You may add the current tenant's ID to your job tags by defining a `tags` method on the class:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue