update process concurrency script to include root & user

This commit is contained in:
Adam Cooke
2018-03-29 14:39:32 +01:00
parent 965956e7a1
commit 7fa457008e
+2
View File
@@ -3,6 +3,8 @@
require File.expand_path('../../lib/postal/config', __FILE__) require File.expand_path('../../lib/postal/config', __FILE__)
worker_quantity = Postal.config.workers&.quantity || 1 worker_quantity = Postal.config.workers&.quantity || 1
hash = { hash = {
'root' => Postal.app_root.to_s,
'user' => ENV['USER'],
'processes' => { 'processes' => {
'worker' => { 'worker' => {
'quantity' => worker_quantity 'quantity' => worker_quantity