4685b9eaa9
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. |
||
---|---|---|
.. | ||
metrics.go | ||
metrics_test.go | ||
subscribe.go | ||
subscribe_test.go |