BUGFIX: some fixes
This commit is contained in:
parent
80131f0e99
commit
d57ee04011
|
@ -84,6 +84,7 @@ class DaemonCommand extends Command
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->doctrine->getManager()->clear();
|
||||
sleep(1);
|
||||
}
|
||||
$output->writeln('Ended after ' . $timelimit . ' seconds');
|
||||
|
|
|
@ -613,7 +613,7 @@ class JobRepository extends EntityRepository
|
|||
|
||||
switch($job->getData('hosttype')) {
|
||||
default:
|
||||
if($job->getData('crotype') == 'http') break;
|
||||
if($job->getData('crontype') == 'http') break;
|
||||
$job->setData('hosttype', 'local');
|
||||
case 'local':
|
||||
$job->setData('host', 'localhost');
|
||||
|
|
Loading…
Reference in New Issue
Block a user