don't restart after interrupt
This commit is contained in:
@@ -213,7 +213,7 @@ func (m *Manager) deliverTeam(ctx context.Context, l *live) {
|
||||
return
|
||||
}
|
||||
for _, s := range teamSessions(sessions) {
|
||||
if s.Id == l.id || s.State != api.AgentSessionStateIdle {
|
||||
if s.Id == l.id || s.State != api.AgentSessionStateIdle || m.interrupted(s.Id) {
|
||||
continue
|
||||
}
|
||||
err = m.Deliver(ctx, s.Id)
|
||||
|
||||
Reference in New Issue
Block a user