feat: new configuration system (and schema) (#2819)

This commit is contained in:
Adam Cooke
2024-02-26 12:41:57 +00:00
committed by GitHub
parent 1c5ff5a9a6
commit 0163ac3d10
77 changed files with 1840 additions and 593 deletions
+6 -1
View File
@@ -6,5 +6,10 @@ $stderr.sync = true
require_relative "../config/environment"
HealthServer.start(name: "worker", default_port: 9090)
HealthServer.start(
name: "worker",
default_port: Postal::Config.worker.default_health_server_port,
default_bind_address: Postal::Config.worker.default_health_server_bind_address
)
Worker::Process.new.run