More tests.

This commit is contained in:
Alliballibaba
2025-10-13 21:22:43 +02:00
parent d0a215bebe
commit ae900116bd
5 changed files with 91 additions and 20 deletions

View File

@@ -6,7 +6,11 @@ return function () {
$taskCount = $_GET['count'] ?? 0;
$workerName = $_GET['worker'] ?? '';
for ($i = 0; $i < $taskCount; $i++) {
frankenphp_dispatch_task("task$i", $workerName);
$c = new DateTime();
$c->setTimestamp(time()+123);
$c->setTimezone(new Datetimezone('America/New_York'));
#$c = serialize($c);
frankenphp_dispatch_task($c, $workerName);
}
echo "dispatched $taskCount tasks\n";
};