Skip to content

Strange Behavior with RabbitMQ and Flask-SocketIO #2005

Answered by miguelgrinberg
njbinbin asked this question in Q&A
Discussion options

You must be logged in to vote

You are using the Flask reloader, which runs two instances of your app. That means that you have two RabbitMQ callbacks that are active, and two of each global variable that you define.

Could you please repeat the test using Flask in production mode instead?

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by njbinbin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #2004 on August 13, 2023 10:01.