You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to know when we're trying to use an already used port, because that's how we find who's the localhost leader in a multi-process scenario (e.g. if multiple humanlog processes are running concurrently). The leader is whoever has the port.
This function only works on unix, and not on windows. Make it cross platform.
humanlog/cmd/humanlog/localhost.go
Lines 35 to 52 in 4aff753
We want to know when we're trying to use an already used port, because that's how we find who's the localhost leader in a multi-process scenario (e.g. if multiple humanlog processes are running concurrently). The leader is whoever has the port.
The text was updated successfully, but these errors were encountered: