From b053a138659b188abc57b6691c6ba2c764ac6d8f Mon Sep 17 00:00:00 2001 From: AKW <2497744746@qq.com> Date: Fri, 22 Dec 2023 14:25:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=B0=83=E7=8A=B6=E6=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/msg/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/msg/utils.py b/apps/msg/utils.py index 2f83856..caea2b4 100644 --- a/apps/msg/utils.py +++ b/apps/msg/utils.py @@ -23,8 +23,6 @@ class JQRMSGPubSubUtils: def listen(): - api = os.environ.get('api') - logger.info(f'监听消息队列-----{api}') from apps.jqr.serializers import TbMessageModelSerializer while True: data = JQRMSGPubSubUtils.rc.brpop(Constant.JQR_MSG_PUBSUB_CHANNEL, 5)