Skip to content

Commit

Permalink
fix: changed autodelete to auto_delete (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
xytxytxyt committed Dec 9, 2022
1 parent 17f56fa commit 7e1b01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ergo/amqp_invoker.py
Expand Up @@ -63,7 +63,7 @@ def __init__(self, invocable: FunctionInvocable) -> None:
component_queue_name = f"{self._invocable.config.func}".replace("/", ":")
if component_queue_name.startswith(":"):
component_queue_name = component_queue_name[1:]
self._component_queue = kombu.Queue(name=component_queue_name, exchange=self._exchange, routing_key=str(SubTopic(self._invocable.config.subtopic)), durable=False, autodelete=True)
self._component_queue = kombu.Queue(name=component_queue_name, exchange=self._exchange, routing_key=str(SubTopic(self._invocable.config.subtopic)), durable=False, auto_delete=True)
instance_queue_name = f"{component_queue_name}:{instance_id()}"
self._instance_queue = kombu.Queue(name=instance_queue_name, exchange=self._exchange, routing_key=str(SubTopic(instance_id())), auto_delete=True)
error_queue_name = f"{component_queue_name}:error"
Expand Down
2 changes: 1 addition & 1 deletion ergo/version.py
Expand Up @@ -7,7 +7,7 @@
import subprocess
import sys

VERSION = '0.11.2'
VERSION = '0.11.3'


def get_version() -> str:
Expand Down

0 comments on commit 7e1b01b

Please sign in to comment.