sampoyigi/ti-ext-horizon
Composer 安装命令:
composer require sampoyigi/ti-ext-horizon
包简介
Horizon allows you to easily monitor key metrics of your queue system such as job throughput, runtime, and job failures.
README 文档
README
Laravel Horizon for TastyIgniter Adds Laravel Horizon to your TastyIgniter application.
Setup
You should ensure that your queue connection is set to
redisin your queue configuration file.
- Install this extension
- After installing this extension, run
php artisan horizon:installto publish horizon assets - Run
php artisan horizonto start the horizon process - From the TastyIgniter Admin, go to Tools > Horizon or navigate to
/horizonto access the dashboard. - Comment out the
App\Providers\HorizonServiceProvider::classclass from yourconfig/app.phpfile to configure Dashboard Authorization to use TastyIgniter user permissions. - To keep the horizon process running, you can use a process manager like supervisord or systemd.
For production this command needs to be supervised by a tool like supervisord. Supervisord will take care of restarting a process when it fails.
More information on running Horizon check the laravel docs.
Graphs
Horizon provides a queue usage graph, if you want use them you need to have the TastyIgniter task scheduler correctly configured.
统计信息
- 总下载量: 685
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-14