Skip to content

Commit

Permalink
[fix] reset delivery tag. fixes #98
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Orlov committed Jan 25, 2018
1 parent e7768c6 commit 53f2922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions aio_pika/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def initialize(self, timeout=None) -> None:
raise RuntimeError("Can't initialize closed channel")

self._channel = yield from self._create_channel(timeout)
self._delivery_tag = 0

def _on_return_delivery(self, channel, method_frame, properties, body):
f = self._confirmations.pop(int(properties.headers.get('delivery-tag')))
Expand Down
2 changes: 1 addition & 1 deletion aio_pika/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

team_email = 'me@mosquito.su'

version_info = (1, 9, 0)
version_info = (1, 9, 1)

__author__ = ", ".join("{} <{}>".format(*info) for info in author_info)
__version__ = ".".join(map(str, version_info))

0 comments on commit 53f2922

Please sign in to comment.