mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
setup: Drop check for already running operation
- Currently operations manager already ensures that all operations run serially. Even in future, operations manager is unlikely to run parallel operations on a single app. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
97f45ee2bf
commit
22fef4d521
@ -30,10 +30,6 @@ _force_upgrader = None
|
||||
|
||||
def run_setup_on_app(app_id, allow_install=True):
|
||||
"""Execute the setup process in a thread."""
|
||||
# Setup for the module is already running
|
||||
if operation_module.manager.filter(app_id):
|
||||
return
|
||||
|
||||
# App is already up-to-date
|
||||
app = app_module.App.get(app_id)
|
||||
current_version = app.get_setup_version()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user