Commit 6efb97e
SEARCH-665: Move connection/channel assignments (#122)
Fix "RuntimeError: maximum recursion depth exceeded in cmp" error.
It is assumed that sometimes acking a message fails, so the
`action_wrapper` decorator tries to reconnect to rabbitmq calling
`connect_to_rabbitmq` method, which re-does adding the callbacks,
then the new added callback fails, setting up a chain reaction.
See also https://chatlogs.metabrainz.org/libera/metabrainz/msg/4848594/
Co-authored-by: Michael Wiencek <mwtuea@gmail.com>1 parent 2c09581 commit 6efb97e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
210 | | - | |
211 | | - | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments