定制 biigle/laravel-queue-alert 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

biigle/laravel-queue-alert

最新稳定版本:v2.0.1

Composer 安装命令:

composer require biigle/laravel-queue-alert

包简介

A package to send alert emails if a Laravel queue is very busy

README 文档

README

A package to send alert emails if a Laravel queue is very busy.

Tests

Installation

composer require biigle/laravel-queue-alert

Usage

Set the QUEUE_ALERT_EMAIL variable in your .env file to the email address that should receive the alerts. By default, this package will send one alert email every hour when the default queue of the default connection exceeds 1000 jobs.

Configuration

Run the following command to publish the configuration:

php artisan vendor:publish --tag=config --provider=\\Biigle\\QueueAlert\\QueueAlertServiceProvider

Multiple queues and connections

Add more items to the watch array of the configuration. The default configuration already provides an example for an array antry. Alerts will be sent separately for each configured entry.

Report interval

Update the report_every_minutes value for an entry in the watch array. An alert is only send once every x minutes based on the configures value.

Report patience

Update the report_wait_minutes value for an entry in the watch array. If this is greater than 0, an alert will be sent only if the number of jobs exceeds the configured threshold for x minutes based on the configured value.

统计信息

  • 总下载量: 3.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-16