Skip to content

Stat reloader CPU usage too high on Docker for Mac #2141

@martinsvoboda

Description

@martinsvoboda

After migration from Werkzeug 1.0.1 to 2.0.1 stat reloader consuming 100% of CPU. I used stat reloader because inotify doesn't have good support in docker for mac. Using Werkzeug from django-extensions with runserver_plus command. Returning back to Werkzeug 1.0.1 solves problem (cpu seems ok).

Environment:

  • Python version: 3.9.4
  • Werkzeug version: 2.0.1
  • django-extension: 3.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions