Bin Yang 5eb6e432dd Workaround retry issue of connection to notificationservice
Monkey patch kombu package to avoid retrying forever
while connecting to rabbitmq broker

Spawn a thread to ensure the connection to notificationservice

Story: 2008529
Task: 42020

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: Ic12bd2af29ad71739f157dac66998d7972eb2edc
2021-03-10 16:35:03 +08:00

10 lines
199 B
Python

#
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from notificationclientsdk.common.helpers.patcher import OsloMessagingPatcher
OsloMessagingPatcher.patch()