We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2ed24 commit 60355bfCopy full SHA for 60355bf
proxy/process.go
@@ -116,7 +116,9 @@ func (p *Process) start() error {
116
return fmt.Errorf("can not start(), upstream proxy missing")
117
}
118
119
- // wait for the other start() to complete
+ // multiple start() calls will wait for the one that is actually starting to
120
+ // complete before proceeding.
121
+ // ===========
122
curState := p.CurrentState()
123
124
if curState == StateReady {
@@ -132,6 +134,7 @@ func (p *Process) start() error {
132
134
133
135
return nil
136
137
138
139
// There is the possibility of a hard to replicate race condition where
140
// curState *WAS* StateStopped but by the time we get to the p.stateMutex.Lock()
0 commit comments