diff --git a/app/Process/AsyncQueueConsumer.php b/app/Process/AsyncQueueConsumer.php index 34a149a..ab35d8a 100644 --- a/app/Process/AsyncQueueConsumer.php +++ b/app/Process/AsyncQueueConsumer.php @@ -15,13 +15,18 @@ namespace App\Process; use Hyperf\AsyncQueue\Process\ConsumerProcess; use Hyperf\Process\Annotation\Process; -///** -// * @Process -// */ +/** + * @Process + */ class AsyncQueueConsumer extends ConsumerProcess { public function handle(): void { } + + public function isEnable($server): bool + { + return false; + } }