Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Commit

Permalink
brick-mux : remove sleep from every demultiplexing brick requests
Browse files Browse the repository at this point in the history
Signed-off-by: Atin Mukherjee <[email protected]>
  • Loading branch information
Atin Mukherjee committed Jan 8, 2019
1 parent 6b2e269 commit 91e5c87
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions glusterd2/brickmux/demultiplex.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ func Demultiplex(b brick.Brickinfo) error {
}
log.WithField("brick", b.String()).Debug("detach request succeeded with result")

// TODO: Find an alternative to substitute the sleep.
// There might be some changes on glusterfsd side related to socket
// files used while brick signout,
// make appropriate changes once glusterfsd side is fixed.
//time.Sleep(time.Millisecond * 200)

log.WithField("brick", b.String()).Debug("deleting brick socket and pid file")
os.Remove(brickDaemon.PidFile())

Expand Down

0 comments on commit 91e5c87

Please sign in to comment.