remove useless notification listener helper
Change-Id: I473e7e5eeba43f6a7e60a4d6fdbf2eaf9eddd864
This commit is contained in:
parent
d0f1db6ebc
commit
660de65a8e
@ -81,14 +81,6 @@ _SERIALIZER = RequestContextSerializer(
|
|||||||
oslo_serializer.JsonPayloadSerializer())
|
oslo_serializer.JsonPayloadSerializer())
|
||||||
|
|
||||||
|
|
||||||
def get_notification_listener(transport, targets, endpoints,
|
|
||||||
allow_requeue=False):
|
|
||||||
"""Return a configured oslo_messaging notification listener."""
|
|
||||||
return oslo_messaging.get_notification_listener(
|
|
||||||
transport, targets, endpoints, executor='threading',
|
|
||||||
allow_requeue=allow_requeue)
|
|
||||||
|
|
||||||
|
|
||||||
def get_batch_notification_listener(transport, targets, endpoints,
|
def get_batch_notification_listener(transport, targets, endpoints,
|
||||||
allow_requeue=False,
|
allow_requeue=False,
|
||||||
batch_size=1, batch_timeout=None):
|
batch_size=1, batch_timeout=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user