R
Railway16mo ago
ZEYD

Interactions blocked while function running in Django

Hi, I have the issue, that if one user is logged in into my deployed Django project and is doing something, another user at the same time can't do anything because the server will block it. Also, if user 1 is running a task, the same user can't leave the page or click anything else. I am using Django and Gunicorn. Can someone help me? What am I missing? In my local development enviroment everything is fine.
Solution:
you would need to setup gunicorn to use multiple threads and workers
Jump to solution
4 Replies
Percy
Percy16mo ago
Project ID: ed447a02-0626-4d37-a35a-c8aa82678ceb
ZEYD
ZEYD16mo ago
ed447a02-0626-4d37-a35a-c8aa82678ceb
Solution
Brody
Brody16mo ago
you would need to setup gunicorn to use multiple threads and workers
ZEYD
ZEYD16mo ago
thanks solved
Want results from more Discord servers?
Add your server