Niklas Adolfsson
7fb33796b1
light client : failsafe crate (circuit breaker) (#9790)
* refactor(light) : N/W calls with `circuit breaker`
* fix(nits) : forgot to commit new files
* Add tests and change CLI args
* Address grumbles
* fix(failsafe-rs) : Santize input to prevent panics
* chore(failsafe) : bump failsafe, (parking_lot)
Bump failsafe to v0.3.0 to enable `parking_lot::Mutex` instead
`spin::Mutex`
* Remove `success_rate`
* feat(circuit_breaker logger)
* feat(CLI): separate CLI args request and response
* Fix tests
* Error response provide request kind
When a reponse `times-out` provide the actual request or requests that failed
* Update ethcore/light/src/on_demand/mod.rs
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
* Update ethcore/light/src/on_demand/mod.rs
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
* fix(grumbles): formatting nit
* fix(grumbles)
* Use second resolution on CLI args
* Use `consecutive failure policy` instead of `timeOverWindow`
* Add a couple of tests for `request_guard`
* fix(request_guard): off-by-one error, update tests
2018-12-05 10:36:53 +01:00
..
2018-12-05 10:36:53 +01:00
2018-11-30 12:08:20 +08:00
2018-10-22 09:40:50 +02:00
2018-06-22 15:09:15 +02:00
2018-10-26 13:21:36 +02:00
2018-06-04 10:19:50 +02:00
2018-12-05 10:36:53 +01:00
2018-07-18 16:27:29 +02:00
2018-07-11 12:19:54 +02:00
2018-10-26 13:21:36 +02:00
2018-11-26 14:05:02 +03:00
2018-06-04 10:19:50 +02:00
2018-10-22 09:40:50 +02:00
2018-08-10 11:06:30 +02:00
2018-11-28 11:30:05 +01:00
2018-11-01 11:06:53 +01:00
2018-06-22 15:09:15 +02:00
2018-11-27 02:58:27 +08:00
2018-11-05 22:39:51 +08:00
2018-12-05 10:36:53 +01:00
2018-11-26 01:36:43 +08:00
2018-06-06 10:05:52 +02:00
2018-10-26 13:21:36 +02:00
2018-06-04 10:19:50 +02:00
2018-08-21 15:30:24 +02:00
2018-07-23 13:57:50 +02:00
2018-06-04 10:19:50 +02:00