danielfm / pybreaker

Python implementation of the Circuit Breaker pattern.
BSD 3-Clause "New" or "Revised" License
508 stars 74 forks source link

pybreaker should provide getter for the time remaining till the circuit changes state from open to half-open #82

Open Natan16 opened 1 year ago

Natan16 commented 1 year ago

It would be useful to configure an effective retry policy. There is no use in retrying before the reset_timeout has elapsed.