diff --git a/Makefile b/Makefile index 39f4e988..8ca86dae 100644 --- a/Makefile +++ b/Makefile @@ -229,6 +229,9 @@ cli-build-results: check: test fmt-check vet lint staticcheck test: .PHONY + go test $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)') + +testv: .PHONY go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)') race: .PHONY diff --git a/server/server.go b/server/server.go index 6f20fc69..2362ab93 100644 --- a/server/server.go +++ b/server/server.go @@ -1431,10 +1431,6 @@ func (s *Server) execManager() { Info("Server stats") } -func (s *Server) expireVisitors() { - -} - func (s *Server) runSMTPServer() error { s.smtpServerBackend = newMailBackend(s.config, s.handle) s.smtpServer = smtp.NewServer(s.smtpServerBackend)