From 1451abcca44146c80b1ccef44b275f9cf20a782a Mon Sep 17 00:00:00 2001 From: Maximilian Date: Thu, 6 Apr 2023 12:01:29 -0500 Subject: [PATCH] Formatting --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 8cb8559..42e8ec0 100644 --- a/main.go +++ b/main.go @@ -78,6 +78,7 @@ func main() { signal.Notify(interrupt, os.Interrupt, syscall.SIGTERM) stop := make(chan struct{}) go app.RunScheduledTasks(&appLoaded, 100, stop) + <-interrupt log.Println("Interrupt signal received. Shutting down server...")