Fix the race condition where the race is actually happening
This commit is contained in:
@@ -50,7 +50,7 @@ func (s *Server) StartEventListeners() {
|
||||
// cause it to block until the first call is done calculating disk usage, which will
|
||||
// case stat events to pile up for the server.
|
||||
s.Filesystem.HasSpaceAvailable()
|
||||
|
||||
|
||||
s.emitProcUsage()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user