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

Sleep in Reloader loop to conserve CPU resources #2567

Closed
wants to merge 8 commits into from

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    1fd91c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b98414f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8578b5 View commit details
    Browse the repository at this point in the history
  4. Lint

    eirikrye committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    9e23d73 View commit details
    Browse the repository at this point in the history
  5. Use a threading.Event to signal stopping the reloader, and use `eve…

    …nt.wait(interval)` instead of `sleep(interval)`, as sleeping blocks the thread and leaves the server hanging on shutdown.
    eirikrye committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    ca01095 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Remove default value for auto_reload_interval in CLI, as this would o…

    …verride anything set in config
    eirikrye committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    aebd917 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6a9821 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    357944b View commit details
    Browse the repository at this point in the history