raintank / worldping-api

Worldping Backend Service
Other
25 stars 18 forks source link

fix deadlock when refreshing probes. fixes #86 #87

Closed woodsaj closed 5 years ago

woodsaj commented 5 years ago

When a probe is removed while the socketCache refreshLoop is iterating over probeSessions a deadlock was being reached.

The deadlock was reached when the following happened: