feat(worker): allow number of threads to be configured

This allows for more threads to be run. Care needs to be taken to ensure that database connection pool size is appropriate for this.
This commit is contained in:
Adam Cooke
2024-03-17 18:41:26 +00:00
parent ee8d829a85
commit 7e2acccd1e
4 changed files with 11 additions and 1 deletions
+5
View File
@@ -130,6 +130,11 @@ module Postal
description "The default bind address for the worker health server to listen on"
default "127.0.0.1"
end
integer :threads do
description "The number of threads to execute within each worker"
default 2
end
end
group :main_db do