ksysoev / wasabi

Toolkit for Creating WebSocket API Gateways
MIT License
4 stars 2 forks source link

feat: replace circuit breaker with library #98

Closed KianYang-Lee closed 1 week ago

KianYang-Lee commented 1 week ago

Previous implementation of circuit breaker was simplistic. It is replaced with a third-party library "gobreaker/v2". The function signature "recoverAfter" was removed to fit the implementation of the library. Test cases for circuit breaker were modified accordingly.

Closes #77