Skip to content

Commit

Permalink
Process timeout tip
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 1, 2020
1 parent 25b61d9 commit e5cc038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parallel/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function request(array $data): void
$this->in->write($data);
$this->timer = $this->loop->addTimer($this->timeoutSeconds, function (): void {
$onError = $this->onError;
$onError(new \Exception(sprintf('Child process timed out after %.1f seconds.', $this->timeoutSeconds)));
$onError(new \Exception(sprintf('Child process timed out after %.1f seconds. Try making it longer with parallel.processTimeout setting.', $this->timeoutSeconds)));
});
}

Expand Down

0 comments on commit e5cc038

Please sign in to comment.