Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed May 27, 2019
1 parent 405d588 commit 8bffc2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Manager/ProcessManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ public function tick()
$this->stopSiblingTasks($task);
}

if ($task instanceof Expires) {
$this->timings[$task] = time();
}

$binary = $this->getBinary();
$worker = $this->getWorker();
$stdout = $this->getStdOut();
$stderr = $this->getStdErr();

if ($task instanceof Expires) {
$this->timings[$task] = time();
}

$command = $this->getCommand($binary, $worker, $stdout, $stderr);
$output = $this->getShell()->exec($command, [
$this->getTaskString($task),
Expand Down

0 comments on commit 8bffc2f

Please sign in to comment.