You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying the retry decorator both on the consumer class and a consumer method results to stacking the number of retries (?). I would expect only the retry decorator of the consumer's method to be applied in such a case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Applying the
retrydecorator both on the consumer class and a consumer method results to stacking the number of retries (?). I would expect only theretrydecorator of the consumer's method to be applied in such a case.client.error()DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mock.codes:443
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
client.error2()DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
DEBUG:urllib3.connectionpool:https://mock.codes:443 "GET /500 HTTP/1.1" 500 None
I'm not sure if that's the intended behavior here or if the same thing happens to other decorators.
uplink==0.9.7
python==3.8.10
Beta Was this translation helpful? Give feedback.
All reactions