Skip to content

Commit 3119eea

Browse files
committed
Tell GitHub runners to open up
1 parent 36a5099 commit 3119eea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AsyncTask.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ private function hasTimedOut(): bool
295295

296296
// check LARAVEL_START with microtime
297297
$timeElapsed = microtime(true) - $this->laravelStartVal;
298+
// temp let runner print me the stats
299+
echo "microtime elapsed $timeElapsed" . PHP_EOL;
298300
if ($timeElapsed >= $this->timeLimit) {
299301
// yes
300302
return true;
@@ -311,6 +313,7 @@ private function hasTimedOut(): bool
311313
$tempOut = exec("ps -p $selfPID -o etimes=");
312314
// this must exist (we are still running!), otherwise it indicates the kernel is broken and we can go grab a chicken dinner instead
313315
$timeElapsed = (int) $tempOut;
316+
echo "proc-stat elapsed $timeElapsed" . PHP_EOL;
314317
unset($tempOut);
315318
return $timeElapsed >= $this->timeLimit;
316319
}

0 commit comments

Comments
 (0)