From 22fef4d521f25bc697436d26a581b428aad1e00d Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 18 Aug 2022 22:05:10 -0700 Subject: [PATCH] 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 Reviewed-by: James Valleroy --- plinth/setup.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plinth/setup.py b/plinth/setup.py index 510ea8591..d303e63a2 100644 --- a/plinth/setup.py +++ b/plinth/setup.py @@ -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()