mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-19 05:36:17 +01:00
Fix to NATS deadlock and revert demo script
This commit is contained in:
@@ -64,7 +64,6 @@ func ReceiveNats(ms *MemoryStore,
|
||||
cclog.Infof("NATS subscription to '%s' established", sc.SubscribeTo)
|
||||
}
|
||||
|
||||
<-ctx.Done()
|
||||
close(msgs)
|
||||
wg.Wait()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user