59a1fb57da
This patch adds a puppet module that will start up N worker threads to handle messages sent to the deferred processing queue. It does so by making use of the new storyboard-worker-daemon command created in the below patch. Both upstart and sysvinit scripts are provided, with sysvinit being the default. https://review.openstack.org/#/c/122890/ Change-Id: I5565cbf8062457d343d3e02dbfaae2852a359d91 Story: 96
11 lines
310 B
Plaintext
11 lines
310 B
Plaintext
description "StoryBoard Deferred Workers"
|
|
|
|
start on started network-services
|
|
stop on stopping network-services
|
|
|
|
setuid <%= scope.lookupvar("storyboard::params::user") %>
|
|
setgid <%= scope.lookupvar("storyboard::params::group") %>
|
|
|
|
script
|
|
storyboard-worker-daemon --worker-count <%= @worker_count %>
|
|
end script |