-
Notifications
You must be signed in to change notification settings - Fork 93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition, thank you!
I have some minor comments regarding specs - can you please address them, other that that - good job!
@@ -5,7 +5,15 @@ module Appserver | |||
class Passenger < Drivers::Appserver::Base | |||
adapter :passenger | |||
allowed_engines :passenger | |||
output filter: %i[max_pool_size min_instances mount_point] | |||
WEBSERVER_CONFIG_PARAMS = %i[ | |||
max_pool_size min_instances |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, move it to new line.
deploy['dummy_project']['appserver']['pool_idle_time'] = 300 | ||
deploy['dummy_project']['appserver']['max_request_queue_size'] = 100 | ||
deploy['dummy_project']['appserver']['error_document'] = { "503": '503.html', "504": '504.html' } | ||
deploy['dummy_project']['appserver']['passenger_max_preloader_idle_time'] = 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, add extra tests to it 'creates apache2 passenger config'
spec, to test if those params are actually reflected in config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added tests to it 'creates apache2 passenger config'
.
…yntax violates the convention
Thank you for the review! Added and fixed missing cord. |
…n#227) * chore: add new webserver_config_params * style: Fixed failing rubocop lints. * chore: add PassengerMaxPreloaderIdleTime params to webserver_config * fix(appserver): fixed constants and error document values where the syntax violates the convention * test: added webserver_config_params test
Since there was no item to be set during performance tuning, it was added.