Update: 2026-07-10 03:04:06

This commit is contained in:
Hamza-Ayed
2026-07-10 03:04:06 +03:00
parent 2ff7450d0b
commit b18fd027b6
22 changed files with 2661 additions and 96 deletions
+4 -2
View File
@@ -142,10 +142,12 @@ try {
$con->commit();
// 🆕 Cache ride state in Redis
// 🆕 Cache ride state in Redis — use $status (the exact value just
// written to MySQL above), not a hardcoded label, so a cache hit can
// never disagree with the row it was seeded from.
sendToLocationServer('update_ride_state', [
'ride_id' => $ride_id,
'status' => 'started',
'status' => $status,
'driver_id' => $driver_id,
'passenger_id' => $passenger_id ?? '',
]);