Skip to content

Commit

Permalink
secscan: configure global lock (PROJQUAY-3501) (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleesc committed Apr 19, 2022
1 parent 7d0f318 commit 922892d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workers/securityworker/securityworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def create_gunicorn_worker():
while True:
time.sleep(100000)

GlobalLock.configure(app.config)
logging.config.fileConfig(logfile_path(debug=False), disable_existing_loggers=False)
worker = SecurityWorker()
worker.start()

0 comments on commit 922892d

Please sign in to comment.