diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-11-13 10:33:19 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-11-13 10:33:19 -0500 |
commit | 86579bb4781c559917d9495eeb982137ade04bac (patch) | |
tree | 1fd85c0ff24a99a83ea3b079697157aea269a71d /cmd/alps | |
parent | 0d1cca191bd054516fa70d5715996ea085a0dde6 (diff) | |
download | alps-86579bb4781c559917d9495eeb982137ade04bac.tar.gz alps-86579bb4781c559917d9495eeb982137ade04bac.zip |
Remove async SMTP queue
Diffstat (limited to 'cmd/alps')
-rw-r--r-- | cmd/alps/main.go | 6 |
1 files changed, 0 insertions, 6 deletions
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() } |