aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-13 10:33:19 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-13 10:33:19 -0500
commit86579bb4781c559917d9495eeb982137ade04bac (patch)
tree1fd85c0ff24a99a83ea3b079697157aea269a71d /cmd
parent0d1cca191bd054516fa70d5715996ea085a0dde6 (diff)
downloadalps-86579bb4781c559917d9495eeb982137ade04bac.tar.gz
alps-86579bb4781c559917d9495eeb982137ade04bac.zip
Remove async SMTP queue
Diffstat (limited to 'cmd')
-rw-r--r--cmd/alps/main.go6
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()
}