From a8019e20a8bf62ae8023ab8bbbb37c9a085ffd40 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Mon, 18 Sep 2017 08:18:59 +0700 Subject: [PATCH] Fixed 'lifetime' parameter for queue on installation. --- src/PHPCensor/Command/InstallCommand.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PHPCensor/Command/InstallCommand.php b/src/PHPCensor/Command/InstallCommand.php index 8f30efb2..65506819 100644 --- a/src/PHPCensor/Command/InstallCommand.php +++ b/src/PHPCensor/Command/InstallCommand.php @@ -310,7 +310,7 @@ class InstallCommand extends Command 'use_queue' => false, 'host' => null, 'name' => null, - 'lifetime' => 600 + 'lifetime' => 600, ]; if (!$input->getOption('queue-use')) { @@ -319,6 +319,9 @@ class InstallCommand extends Command $queueConfig = [ 'use_queue' => true, + 'host' => null, + 'name' => null, + 'lifetime' => 600, ]; $queueConfig['host'] = $input->getOption('queue-host');