processes.php 437 B

12345678910111213141516
  1. <?php
  2. declare(strict_types=1);
  3. use Hyperf\Crontab\Process\CrontabDispatcherProcess;
  4. /**
  5. * This file is part of Hyperf.
  6. *
  7. * @link https://www.hyperf.io
  8. * @document https://hyperf.wiki
  9. * @contact group@hyperf.io
  10. * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
  11. */
  12. return [
  13. Hyperf\AsyncQueue\Process\ConsumerProcess::class, //异步消费进程
  14. CrontabDispatcherProcess::class, // 定时任务进程
  15. ];