Commit Graph

6 Commits

Author SHA1 Message Date
Andrea Maria Piana 605ceae989 fix_: Don't count error rate for circuit breaker on cancel and handle
not found
2024-08-20 14:24:41 +00:00
Icaro Motta a57055f43b
fix(wallet)_: fix provider down event happening too often (#5595) (#5649)
* fix(wallet)_: fix provider down event happening too often

- handle context cancelled error
- do not count expected errors when calling tokenURI as providers
  errors
- use archival not for optimism (was silently added by Grove makeing the
  old URL non-archival)

Closes #5555

* test(wallet)_: add test for collectibles manager to verify that main
circuit is not tripped calling by tokenURI method

Co-authored-by: IvanBelyakoff <ivan.belyakov.job@gmail.com>
2024-08-01 19:29:05 -03:00
Ivan Belyakov 94b2017226 test(wallet)_: fix flaky circuit breaker test on window timeout
fix racing condition on init of RPC stats
2024-07-17 18:06:48 +02:00
Ivan Belyakov 4b19845592 chore(wallet)_: Added a test for Market manager FetchTokenMarketValues
Added a nil/empty command test for circuit breaker
2024-07-05 12:39:19 +01:00
Ivan Belyakov 0e10b38e4b fix(wallet)_: fix circuit breaker to use health checks for fallback
functions as well.

Add tests, fix tests failing under stress due to name clashes
2024-07-05 12:39:19 +01:00
Ivan Belyakov 7d7fa07754 feat: implemented a circuit breaker wrapper around hystrix to allow
multiple fallbacks
2024-03-18 11:49:03 +01:00