'running multiple django processes concurrently
I am using a package to send request needed to the front end, but I discovered that the package was blocking all other operations taking place in the server even the loading of a new page, so the server does not respond to any request until the package is through.
Please how can I get the server to run multiple processes while the package is running. This is my code
from django_eventstream import send_event#this is the package
send_event('test', 'message', "Time spent processing the data "+ x+" mins"))// No other operation responds while this one is running
So anytime that this code is running all other operation does not run
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
