Disable greenthreads for RabbitDriver "listen" connections
When enabling heartbeat_in_pthread, we were restoring the "threading"
python library from eventlet to original one in RabbitDriver but we
forgot to do the same in AMQPDriverBase (RabbitDriver is subclass of
AMQPDriverBase).
We also need to use the original "queue" so that queues are not going to
use greenthreads as well.
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.messaging /+/880187 /opendev. org/openstack/ oslo.messaging/ commit/ 3645839d162a989 da46ba1c0fcbe7f 32b48b9fb1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 3645839d162a989 da46ba1c0fcbe7f 32b48b9fb1
Author: Arnaud Morin <email address hidden>
Date: Fri Mar 3 11:16:56 2023 +0100
Disable greenthreads for RabbitDriver "listen" connections
When enabling heartbeat_ in_pthread, we were restoring the "threading" ase).
python library from eventlet to original one in RabbitDriver but we
forgot to do the same in AMQPDriverBase (RabbitDriver is subclass of
AMQPDriverB
We also need to use the original "queue" so that queues are not going to
use greenthreads as well.
Related-bug: #1961402
Related-bug: #1934937
Closes-bug: #2009138
Signed-off-by: Arnaud Morin <email address hidden> 297df2f793e0d25 94ef8254f00 b17aca1f80bfff4 738fbe9628)
Change-Id: I34ea0d1381e934
(cherry picked from commit fd2381c723fe805