danielfm / pybreaker

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

Move import of redis into `CircuitRedisStorage.__init__` #17

Closed phillbaker closed 7 years ago

phillbaker commented 7 years ago

Should close https://github.com/danielfm/pybreaker/issues/16.

Not sure how to write a test for this, I couldn't get the test environment to not install redis. But I did test this locally and it seemed to work better.