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")