Comments (2)
@crazyconoli a bit late after 9 month but i get in the same situation and leave my response for somebody else that can face the same problem.
The reason is because browser support limited connections to one domain. If you use persistent connections in few tabs you just goes over limit and your browser stop to make responses (queue them until get a free slot). I ended up with creation of few subdomains and connect to sse endpoint there while main domain kept without persistent connections. This way has a drawback - you can't have authorized sse connection. You will get requests from anonymous user as auth cookies won't be sent on subdomain from main domain.
from django-sse.
This project is unmaintained. Sorry for inconvenience.
from django-sse.
Related Issues (15)
- Long polling / streaming updates HOT 5
- Allow for CORS parameters HOT 2
- USE_ETAGS in settings.py breaks sse HOT 1
- Allow using django database as message queue HOT 2
- Is there a way to support heartbeat responses? HOT 1
- redisqueue error HOT 1
- is not possible to redirect the project? HOT 1
- redis memory usage HOT 1
- Difference between pip and git code
- Server is dying on more than 8 concurrent connections
- server_addr not set
- Support event ids HOT 5
- Runserver doesn't reload with an active SSE connection HOT 1
- cleanup connections HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-sse.