Skip to content

Modular logistics and supply chain operating system (LSOS)

release: leave the FrankenPHP worker entrypoint out of v0.7.62

Ronald A. Richardson8666641d796e
diff --git a/RELEASE.md b/RELEASE.md
index 3940efb7..81723867 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -2,7 +2,7 @@
---
## Highlights
-Fleetbase `0.7.62` ships Fleet-Ops `0.6.67`, a telematics reliability release. Safee / DSCO syncs now use a few batched requests instead of several requests per vehicle, polling recovers from transient provider failures within a minute, and large instances can move telematics work onto dedicated queue workers. The FrankenPHP worker entrypoint is now kept in version control.
+Fleetbase `0.7.62` ships Fleet-Ops `0.6.67`, a telematics reliability release. Safee / DSCO syncs now use a few batched requests instead of several requests per vehicle, polling recovers from transient provider failures within a minute, and large instances can move telematics work onto dedicated queue workers.
---
## Component Versions
@@ -30,13 +30,11 @@ Fleetbase `0.7.62` ships Fleet-Ops `0.6.67`, a telematics reliability release. S
- Updated the API dependency for `fleetbase/fleetops-api` and the Console dependency for `@fleetbase/fleetops-engine` to `^0.6.67`.
- Updated the `fleetops` submodule to its `v0.6.67` release tag.
- Updated the API and Console lockfiles for Fleet-Ops `0.6.67`.
-- Added the application-owned `api/public/frankenphp-worker.php`. It removes PHP's script time limit during worker startup, because booting is not an HTTP request and can exceed the default limit; Octane still applies the configured per-request limit. `api/.gitignore` no longer ignores the file, so Octane uses it instead of generating its stub.
---
## Bug Fixes
- Fixed telematics syncs failing with "SyncTelematicDevicesJob has been attempted too many times" for Safee and other bounded polling providers.
- Fixed telematics polling pausing for several minutes after a transient provider timeout.
-- Fixed FrankenPHP worker startup being cut off by PHP's default script time limit.
---
## Upgrade Steps
diff --git a/api/.gitignore b/api/.gitignore
index a9061f72..c7e3015c 100644
--- a/api/.gitignore
+++ b/api/.gitignore
@@ -18,4 +18,4 @@ yarn-error.log
.composer.dev.json
/caddy
frankenphp
-# Keep the application-owned FrankenPHP worker entrypoint in version control.
+frankenphp-worker.php
diff --git a/api/public/frankenphp-worker.php b/api/public/frankenphp-worker.php
deleted file mode 100644
index 4244d23b..00000000
--- a/api/public/frankenphp-worker.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-// Worker startup is not an HTTP request and can exceed PHP's default script limit.
-// Octane applies the configured request limit after the application has booted.
-set_time_limit(0);
-
-require __DIR__.'/../vendor/laravel/octane/bin/frankenphp-worker.php';