Adding a metrics queue for imagestoragereplication
This commit is contained in:
parent
c116ef2987
commit
72597ac455
1 changed files with 2 additions and 1 deletions
3
app.py
3
app.py
|
@ -212,7 +212,8 @@ dex_login = DexOAuthConfig(app.config, 'DEX_LOGIN_CONFIG')
|
||||||
|
|
||||||
oauth_apps = [github_login, github_trigger, gitlab_trigger, google_login, dex_login]
|
oauth_apps = [github_login, github_trigger, gitlab_trigger, google_login, dex_login]
|
||||||
|
|
||||||
image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf, has_namespace=False)
|
image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf,
|
||||||
|
has_namespace=False, metric_queue=metric_queue)
|
||||||
dockerfile_build_queue = WorkQueue(app.config['DOCKERFILE_BUILD_QUEUE_NAME'], tf,
|
dockerfile_build_queue = WorkQueue(app.config['DOCKERFILE_BUILD_QUEUE_NAME'], tf,
|
||||||
reporter=BuildMetricQueueReporter(metric_queue),
|
reporter=BuildMetricQueueReporter(metric_queue),
|
||||||
has_namespace=True)
|
has_namespace=True)
|
||||||
|
|
Reference in a new issue