From 72597ac455856f1246c477d2c4694234002d37d5 Mon Sep 17 00:00:00 2001 From: Charlton Austin Date: Wed, 18 Jan 2017 16:20:16 -0500 Subject: [PATCH] Adding a metrics queue for imagestoragereplication --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 953af51d8..e84b010a9 100644 --- a/app.py +++ b/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] -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, reporter=BuildMetricQueueReporter(metric_queue), has_namespace=True)