feat: add health server and prometheus metrics to worker

This commit is contained in:
Adam Cooke
2024-02-23 22:51:38 +00:00
committed by Adam Cooke
parent 1ae8ef6401
commit a2eb70edf1
7 changed files with 167 additions and 3 deletions
+2
View File
@@ -4,4 +4,6 @@ $stdout.sync = true
$stderr.sync = true
require_relative "../config/environment"
HealthServer.start(name: "smtp-server", default_port: 9091)
SMTPServer::Server.new(debug: true).run