Skip to content

Commit

Permalink
redis bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kcloze committed Dec 23, 2017
1 parent 3a485cf commit 9fab20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function stop($signal=SIGUSR1)
} else {
$this->logger->log('[pid: ' . $ppid . '] has been stopped fail');
}
$this->getRedis()->set('status', Process::STATUS_WAIT);
$this->getRedis()->set(Process::REDIS_MASTER_KEY, Process::STATUS_WAIT);
} else {
exit('service is not running' . PHP_EOL);
}
Expand Down

0 comments on commit 9fab20b

Please sign in to comment.