From 1856b519fc8158f5baed5fe89a8983e31d120efa Mon Sep 17 00:00:00 2001 From: Ivan Bazulic Date: Thu, 25 Jul 2024 12:26:54 -0400 Subject: [PATCH] Removed constraint on storage replication when pushes are disabled --- workers/storagereplication.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/workers/storagereplication.py b/workers/storagereplication.py index d87c1064b4..ae10eb33e6 100644 --- a/workers/storagereplication.py +++ b/workers/storagereplication.py @@ -220,11 +220,6 @@ def create_gunicorn_worker(): has_local_storage = True break - if app.config.get("DISABLE_PUSHES", False): - logger.debug("Pushes to the registry are disabled; skipping startup") - while True: - time.sleep(100000) - if not features.STORAGE_REPLICATION or has_local_storage: if has_local_storage: logger.error("Storage replication can't be used with local storage")