Browse Source

agent/hcp/scada: no need to buffer chan

b/scada-retry-disconnect
Nick Ethier 2 years ago
parent
commit
768df11d21
  1. 2
      agent/hcp/scada/watchdog.go

2
agent/hcp/scada/watchdog.go

@ -31,7 +31,7 @@ func (p *watchdogProvider) Start() error {
}
p.running = true
p.shutdownCh = make(chan struct{}, 1)
p.shutdownCh = make(chan struct{})
go func() {
for {
select {

Loading…
Cancel
Save