status-go/healthmanager
Andrey Bocharnikov f3eed58c78
fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147)
- Subscription common logic is extracted to a separate type.
- Fix race condition where a goroutine extracts value from sync.Map and then another goroutine calls unsubscribe and closes the channel before the first goroutine writes to the channel.
- Moved TestInterleavedChainStatusChanges and TestDelayedChainUpdate to the correct file.
- Renamed test suites with duplicate names.

updates CODEOWNERS
closes #6139

Co-authored-by: Igor Sirotin <sirotin@status.im>
2024-12-04 20:26:53 +04:00
..
aggregator feat_: RPC providers detailed statuses #5923 (#5924) 2024-10-15 19:59:17 +04:00
provider_errors feat_: RPC providers detailed statuses #5923 (#5924) 2024-10-15 19:59:17 +04:00
rpcstatus feat_: RPC providers detailed statuses #5923 (#5924) 2024-10-15 19:59:17 +04:00
blockchain_health_manager.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00
blockchain_health_manager_test.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00
providers_health_manager.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00
providers_health_manager_test.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00
subscription_manager.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00
subscription_manager_test.go fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147) 2024-12-04 20:26:53 +04:00