Server emitting 5 times each #1971
Unanswered
SpringsTea
asked this question in
Q&A
Replies: 1 comment 6 replies
-
The documentation shows working uwsgi and nginx configurations. Yours are completely different. Why is that? I suggest you start from the documented configuration: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a flask-socketio server setup through uwsgi. I had too many connections which made everything unstable, so in production it runs through uwsgi with nginx as a proxy. Here is my wsgi.ini
And my nginx config:
The problem I'm having is that when I have my server emit, it will emit 5 times. I'm guessing each process is emitting, and my clients are hearing all of them. GPT suggested I use clustering to solve the problem, but couldn't give a correct setup to accomplish this and I can't find any documentation on the topic.
Could someone please point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions