From d574c87abbe2cc8f0ebb1a3a79acca01802b78f9 Mon Sep 17 00:00:00 2001 From: nhertz <nhertz@nrao.edu> Date: Mon, 14 Sep 2020 14:48:28 -0600 Subject: [PATCH] Added a note about global connection not automatically closing --- shared/channels/src/channels/amqp_helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared/channels/src/channels/amqp_helpers.py b/shared/channels/src/channels/amqp_helpers.py index e2a08c791..0f31b5c53 100644 --- a/shared/channels/src/channels/amqp_helpers.py +++ b/shared/channels/src/channels/amqp_helpers.py @@ -9,6 +9,8 @@ from workspaces.json import WorkflowEventSchema from workspaces.schema import WorkflowEvent T = TypeVar('T', contravariant=True) +# Global connection; remains open until manually closed (I imagine by some sort of cleanup process) +# FIXME: Does not currently automatically close itself CONN = None -- GitLab