mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Add note about Horizon being used in the central app (#192)
* Add note about Horizon being used in the central app * Update note
This commit is contained in:
parent
c6d5a420ee
commit
5517531c73
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 only accessible on the central domain**. 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