summaryrefslogtreecommitdiff
path: root/zuul/driver/github
diff options
context:
space:
mode:
authorJan Kubovy <jan.kubovy@bmw.de>2021-02-12 13:21:31 +0100
committerSimon Westphahl <simon.westphahl@bmw.de>2021-03-24 07:39:15 +0100
commit45529cba2868b19b96a207b7baa68234f9b20bb8 (patch)
treecdd9776e1a5faa900aeba0fafed8d300a40bb33e /zuul/driver/github
parent37b354a88cad117aeee5178adde1515dc3d03036 (diff)
downloadzuul-45529cba2868b19b96a207b7baa68234f9b20bb8.tar.gz
Improve test output by using named queues
Change-Id: I2b61c1873b3434e5b94e810f73fc3cc09f580eed
Diffstat (limited to 'zuul/driver/github')
-rw-r--r--zuul/driver/github/githubconnection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zuul/driver/github/githubconnection.py b/zuul/driver/github/githubconnection.py
index f7487e952..e1476e981 100644
--- a/zuul/driver/github/githubconnection.py
+++ b/zuul/driver/github/githubconnection.py
@@ -43,6 +43,7 @@ from github3.session import AppInstallationTokenAuth
from zuul.connection import CachedBranchConnection
from zuul.driver.github.graphql import GraphQLClient
from zuul.lib.gearworker import ZuulGearWorker
+from zuul.lib.queue import NamedQueue
from zuul.web.handler import BaseWebController
from zuul.lib.logutil import get_annotated_logger
from zuul.model import Ref, Branch, Tag, Project
@@ -713,7 +714,7 @@ class GithubEventConnector:
name='GithubEventForwarder', target=self.run_event_forwarder,
daemon=True)
self._thread_pool = concurrent.futures.ThreadPoolExecutor()
- self._event_forward_queue = queue.Queue()
+ self._event_forward_queue = NamedQueue("GithubEventForwardQueue")
def stop(self):
self._stopped = True