opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
816 stars 274 forks source link

async retry reraise logic #2059

Closed thewhaleking closed 1 week ago

thewhaleking commented 1 week ago

Added in reraising logic for all @retry attempts, to keep consistency with older retry logic.

The old @retry would reraise the last exception. This changes in tenacity. To get the same execution, I added the reraise=True arg to each call.

RomanCh-OT commented 1 week ago

This has already been fixed in the PR I'm working on, as I mentioned on the channel. You can close or merge this PR.