Fix to NATS deadlock and revert demo script

This commit is contained in:
Aditya Ujeniya
2025-12-17 18:14:36 +01:00
parent d2f2d78954
commit 32e5353847
4 changed files with 21 additions and 21 deletions

View File

@@ -64,7 +64,6 @@ func ReceiveNats(ms *MemoryStore,
cclog.Infof("NATS subscription to '%s' established", sc.SubscribeTo)
}
<-ctx.Done()
close(msgs)
wg.Wait()