Formatting

This commit is contained in:
Maximilian 2023-04-06 12:01:29 -05:00
parent 53a780343f
commit 1451abcca4

View File

@ -78,6 +78,7 @@ func main() {
signal.Notify(interrupt, os.Interrupt, syscall.SIGTERM) signal.Notify(interrupt, os.Interrupt, syscall.SIGTERM)
stop := make(chan struct{}) stop := make(chan struct{})
go app.RunScheduledTasks(&appLoaded, 100, stop) go app.RunScheduledTasks(&appLoaded, 100, stop)
<-interrupt <-interrupt
log.Println("Interrupt signal received. Shutting down server...") log.Println("Interrupt signal received. Shutting down server...")