retry
retry copied to clipboard
easy to use retry decorator in python
During a retry, the log message doesn't contain any information on what function performs retry, as well as only brief info about exception. I've improved logging by adding in log...
Hi, I was wondering if you would like to integrate continuous fuzzing by way of OSS-Fuzz? Fuzzing is a way to automate test-case generation and has been heavily used for...
Changed the context manager for reliability, seems like __enter__ / __exit__ methods are simpler to read sometimes. Removed the stdout prints. Added threaded test -- threaded tests are not fully...
`time.sleep(n)` is a kernel call that pauses the entire Python interpreter, Python threads a virtual. Using `condition.wait(n)` lets the other threads execute while waiting, this bypasses the **GIL** (global interpreter...
Right now if you want to use retry with asyncio, you need to write all calls into a run_until_complete.
This change allows attaching exception handlers to the retry functions that will be called whenever an exception is captured. Fix #18
`delay` and `max_delay` are in seconds, however that wasn't clear from the documentation.