From 86579bb4781c559917d9495eeb982137ade04bac Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2020 10:33:19 -0500 Subject: Remove async SMTP queue --- cmd/alps/main.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmd') diff --git a/cmd/alps/main.go b/cmd/alps/main.go index e519332..fc1fdd8 100644 --- a/cmd/alps/main.go +++ b/cmd/alps/main.go @@ -78,8 +78,6 @@ func main() { go e.Start(addr) - s.Queue.Start(context.Background()) - sigs := make(chan os.Signal, 1) signal.Notify(sigs, syscall.SIGUSR1, syscall.SIGINT) @@ -98,9 +96,5 @@ func main() { e.Shutdown(ctx) cancel() - e.Logger.Print("Waiting for work queues to finish...") - s.Queue.Shutdown() - e.Logger.Print("Shut down.") - s.Close() } -- cgit v1.2.3