Skip to content

Commit

Permalink
Remove constraint on storage replication worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ibazulic committed Jul 25, 2024
1 parent 84d3579 commit ec2016e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions workers/storagereplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ec2016e

Please sign in to comment.