We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69df370 commit 81f7e17Copy full SHA for 81f7e17
src/GearmanManager.php
@@ -545,6 +545,11 @@ protected function getopt($config = array()) {
545
if (!file_exists($dir)) {
546
$this->show_help("Worker dir ".$dir." not found");
547
}
548
+ // resolve each worker directory to its real
549
+ // absolute path to be work with common deployment
550
+ // techniques that swap out a symlink and restart
551
+ // services.
552
+ $dir = realpath($dir);
553
554
unset($dir);
555
0 commit comments