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 29fcf80 commit 2f1615bCopy full SHA for 2f1615b
src/Parallel/ParallelAnalyser.php
@@ -17,6 +17,8 @@
17
class ParallelAnalyser
18
{
19
20
+ private const DEFAULT_TIMEOUT = 600.0;
21
+
22
private int $internalErrorsCountLimit;
23
24
private float $processTimeout;
@@ -32,7 +34,7 @@ public function __construct(
32
34
)
33
35
36
$this->internalErrorsCountLimit = $internalErrorsCountLimit;
- $this->processTimeout = $processTimeout;
37
+ $this->processTimeout = max($processTimeout, self::DEFAULT_TIMEOUT);
38
$this->decoderBufferSize = $decoderBufferSize;
39
}
40
0 commit comments