Skip to content

Commit e4a55c8

Browse files
committed
Open up again
1 parent 3119eea commit e4a55c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AsyncTask.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ private function hasTimedOut(): bool
296296
// check LARAVEL_START with microtime
297297
$timeElapsed = microtime(true) - $this->laravelStartVal;
298298
// temp let runner print me the stats
299-
echo "microtime elapsed $timeElapsed" . PHP_EOL;
299+
fwrite(STDERR, "microtime elapsed $timeElapsed" . PHP_EOL);
300300
if ($timeElapsed >= $this->timeLimit) {
301301
// yes
302302
return true;
@@ -313,7 +313,7 @@ private function hasTimedOut(): bool
313313
$tempOut = exec("ps -p $selfPID -o etimes=");
314314
// this must exist (we are still running!), otherwise it indicates the kernel is broken and we can go grab a chicken dinner instead
315315
$timeElapsed = (int) $tempOut;
316-
echo "proc-stat elapsed $timeElapsed" . PHP_EOL;
316+
fwrite(STDERR, "proc-stat elapsed $timeElapsed" . PHP_EOL);
317317
unset($tempOut);
318318
return $timeElapsed >= $this->timeLimit;
319319
}

0 commit comments

Comments
 (0)