mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
When an app installs a python module as a dependency and imports it. CherryPy will start monitoring it for changes. When the app is uninstalled, the module is removed from the system leading to change detected by CherryPy. The entire service is then restarted if it is in development mode. This could cause a temporary failure in requests served leading to failures in functional tests. Workaround this by preventing auto-reloading for some python modules. Tests: - Without changes, in develop mode, uninstall nextcloud and notice that FreedomBox service is restarted. With changes, it does not restart. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>