status-go/metrics/node
Andrea Maria Piana 4685b9eaa9 Handle deadlock in peerpool
There was another deadlock in the peer pool.
Because we made the event handler asynchrnous, another deadlock popped
up, as the loop locks the global peerpool lock before processing events.
But the handlers also take the global look, effectively resulting in the
same situation we had before, i.e the loop is not running.

THE LOOP MUST BE RUNNING AT ALL TIMES OTHERWISE THE SERVER HANGS.
2021-02-02 07:58:17 +01:00
..
metrics.go add README for metrics (#1906) 2020-03-17 22:09:21 +01:00
metrics_test.go Ignore full node flag when in topic mode 2020-03-23 15:10:07 +01:00
subscribe.go Handle deadlock in peerpool 2021-02-02 07:58:17 +01:00
subscribe_test.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00