File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " taskiq-aio-pika"
3- version = " 0.0.3 "
3+ version = " 0.0.4 "
44description = " RabbitMQ broker for taskiq"
55authors = [
" Pavel Kirilin <[email protected] >" ]
66readme = " README.md"
Original file line number Diff line number Diff line change @@ -112,7 +112,10 @@ async def exchange(
112112 yield exchange
113113
114114 try :
115- await exchange .delete (timeout = 1 )
115+ await exchange .delete (
116+ timeout = 1 ,
117+ if_unused = False ,
118+ )
116119 except ChannelNotFoundEntity : # pragma: no cover
117120 pass # noqa: WPS420
118121
@@ -137,7 +140,11 @@ async def queue(
137140 yield queue
138141
139142 try :
140- await queue .delete (timeout = 1 )
143+ await queue .delete (
144+ timeout = 1 ,
145+ if_empty = False ,
146+ if_unused = False ,
147+ )
141148 except ChannelNotFoundEntity : # pragma: no cover
142149 pass # noqa: WPS420
143150
@@ -170,6 +177,7 @@ async def broker(
170177 exchange_name = exchange_name ,
171178 queue_name = queue_name ,
172179 )
180+ broker .is_worker_process = True
173181
174182 await broker .startup ()
175183
You can’t perform that action at this time.
0 commit comments