Formatting
This commit is contained in:
parent
53a780343f
commit
1451abcca4
1
main.go
1
main.go
@ -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...")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user