moonraker/moonraker
Eric Callahan 6e6388d673
update_manager: fix race condition
Previously the Klipper repo location can be changed outside of
the lock.  If the location of the Klipper path is moved while an autorefresh is occurring it is possible for Moonraker to call refresh
and/or notify_update_refreshed before the repo has been initialized.

This commit moves the re-assignment of the "klipper" updated inside
the lock.  In addition AppDeploy._is_valid is now defined in the
__init__() method.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-01-06 11:54:33 -05:00
..
assets app: use Jinja2 to render the welcome landing page 2023-02-22 18:08:49 -05:00
components update_manager: fix race condition 2024-01-06 11:54:33 -05:00
thirdparty moonraker: introduce thirdparty package 2022-01-28 18:00:21 -05:00
utils app: add jsonrpc HTTP endpoint 2023-12-16 16:21:24 -05:00
__init__.py moonraker: convert code to a package 2023-02-22 12:16:26 -05:00
__main__.py moonraker: convert code to a package 2023-02-22 12:16:26 -05:00
app.py app: resolve soft restart issues 2023-12-29 08:22:50 -05:00
common.py app: resolve soft restart issues 2023-12-29 08:22:50 -05:00
confighelper.py confighelper: clean up warnings 2023-12-23 15:22:23 -05:00
eventloop.py eventloop: add support for uvloop 2023-10-06 18:20:28 -04:00
klippy_connection.py jsonrpc: share one instance among all transports 2023-12-16 16:21:21 -05:00
loghelper.py all: Replace strings with RequestType flags 2023-12-16 16:21:20 -05:00
moonraker.py moonraker: convert code to a package 2023-02-22 12:16:26 -05:00
server.py server: log launch arguments: 2023-12-29 20:13:29 -05:00
websockets.py app: add jsonrpc HTTP endpoint 2023-12-16 16:21:24 -05:00