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

Monkey patch warning only on Budget Django app #138

Open
MikeTheCanuck opened this issue Apr 23, 2017 · 0 comments
Open

Monkey patch warning only on Budget Django app #138

MikeTheCanuck opened this issue Apr 23, 2017 · 0 comments

Comments

@MikeTheCanuck
Copy link
Collaborator

Noticed the following in the CloudWatch logs of our running Docker containers:

/code/budget_proj/wsgi.py:14: RuntimeWarning: Patching more than once will result in the union of all True parameters being patched
16:10:39
from gevent import monkey; monkey.patch_all(thread=False)

This warning appears in the logs for the last N container deploys, over the past WWWW

Oddly, I haven't seen this warning in any of the other backend containers' logs, even though all the backend apps have implemented the monkey patching strategy.

I wonder if this is a consequence of the (thread=False) parameter we're passing in, that no one else is using?

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

1 participant