Skip to content

Monkey patch warning only on Budget Django app #138

@MikeTheCanuck

Description

@MikeTheCanuck

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions