Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
keepalive service detection debug
Browse files Browse the repository at this point in the history
  • Loading branch information
svensp committed Aug 20, 2019
1 parent 0a2343d commit 84020dc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/Blueprint/PhpCommands/Parser/ArrayParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ public function parse( string $name, $data, $version ) {
$phpCommand->setRestart( $data['restart'] );

if ( array_key_exists( 'keepalive', $data ) ) {
if($data['keepalive'] === 'true')
$phpCommand->setKeepaliveService( true );
if($data['keepalive'])
$phpCommand->setKeepaliveService( true );
$phpCommand->setKeepaliveService( $data['keepalive'] );
die('keepalive service!');
}

return $phpCommand;
Expand Down

0 comments on commit 84020dc

Please sign in to comment.