repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
bfcbe7d
parent
a7664b8
author
Eric Bower
date
2024-09-24 02:36:46 +0000 UTC
chore(pubsub): pub log when timeout reached
1 files changed,  +1, -1
M pubsub/cli.go
+1, -1
1@@ -240,7 +240,7 @@ func WishMiddleware(handler *CliHandler) wish.Middleware {
2 
3 					<-time.After(tt)
4 					pub.Cleanup()
5-					sesh.Close()
6+					wish.Fatalln(sesh, "timeout reached, exiting ...")
7 				}()
8 
9 				err = pubsub.PubSub.Pub(name, pub)