Send connected RPC to controller (#386)
This commit is contained in:
1 parent
5370111336
commit
7ff4b7f106
11 files changed
+444
-108
No files matched your search
@@ -404,6 +404,7 @@ Wait:
|
||||
for {
|
||||
select {
|
||||
case <-c.Context.Done():
|
||||
termInfo.Reason = "Received shutdown signal"
|
||||
timer.Stop()
|
||||
break Wait
|
||||
case <-timer.C:
|
||||
@@ -412,7 +413,7 @@ Wait:
|
||||
case connsLeft := <-c.connsLeftCh:
|
||||
c.updateConnsLeft(connsLeft)
|
||||
if connsLeft == 0 {
|
||||
termInfo.Reason = "No connections left"
|
||||
termInfo.Reason = "No connections left in session"
|
||||
break Wait
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user