Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of monkey.patch_all() #55

Closed
ngo opened this issue Oct 1, 2014 · 1 comment
Closed

Get rid of monkey.patch_all() #55

ngo opened this issue Oct 1, 2014 · 1 comment

Comments

@ngo
Copy link

ngo commented Oct 1, 2014

Is it possible to get rid of patch_all() call in flask-socketio? Monkey-patching environment causes numerous bugs in other packages (see similar issue with grequests: spyoungtech/grequests#8).

@malvira
Copy link

malvira commented Oct 2, 2014

👍 on this. I'm using flask-socketio w/ celery (prefork not gevent) and the internal monkey patch is messing me up. The problem is that I need to point celery at a module that imports socketio (which automatically does the monkey patch). Instead, I'd prefer to do the monkey patch myself when I run the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants