Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

tp6的多进程异步任务 #66

Open
18227948197 opened this issue Jul 18, 2022 · 2 comments
Open

tp6的多进程异步任务 #66

18227948197 opened this issue Jul 18, 2022 · 2 comments

Comments

@18227948197
Copy link

之前一直用的消息队列,但是每天任务多了以后,任务又特别耗时间,每天的任务都跑不完,然后就用workerman写了一个tp6的composer包,可多进程执行异步任务,windows上是单进程,liunx上是多进程,项目地址在:https://gitee.com/FengXuanJi/tp6-workerman-task.git,简单

@yunwuxin
Copy link
Member

本身think-queue不也是可以多进程的么

用supervisor多启动几个进程就可以了

@18227948197
Copy link
Author

18227948197 commented Jul 18, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants