botdev
Starting multiple celery workers
Hi, guys. I have a question related to celery. There are a lot of tasks queued on my message broker which is redis. Deployed as a separate service. How can I delete all the queued tasks? Would redeploying be helpfull?
16 replies
Starting multiple celery workers
What I understand is that there will be two services. One for telegram bot the other is for celery. I have two more questions:
1. How my telegram bot call celery task which is running in another service? Should I use API endpoint?
2. Still, what is the procfile would look like to start two celery workers on the service side where my celery is running?
16 replies
Max numbers of users
Advice on file retrieval system?
I am plan to implement celery for queueing tasks. Telegram bot send request to the fastAPI endpoint. The enpoint adds the task to RabbitMQ, then celery gets tasks from the broker and execute. Once task finished, a url path to the generated file is returned. Not sure what to do after. My telegram bot needs to somehow retrieve this file.
135 replies