tenancy-docs/source/docs/v3/integrations/horizon.blade.md
Adebayo Ilerioluwa a4645b3abd
Improved Documentation Search (#61)
* chore: (Improve documentation search for V3)

* fix: checks for mispelled words

* fix: mispelled words

* fix spaces and syntax

* Update multi-database-tenancy.blade.md

Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
2020-07-21 20:18:29 +02:00

509 B

title extends section
Laravel Horizon integration _layouts.documentation content

Laravel Horizon

Make sure your [queues]({{ $page->link('queues') }}) are configured correctly before using this.

Tags

You may add the current tenant's id to your job tags by defining a tags method on the class:

/**
* Get the tags that should be assigned to the job.
*
* @return array
*/
public function tags()
{
    return [
        'tenant:' . tenant('id'),
    ];
}