Update: 2026-07-10 03:04:06
This commit is contained in:
@@ -212,10 +212,12 @@ try {
|
||||
|
||||
$con->commit();
|
||||
|
||||
// 🆕 Cache ride state in Redis
|
||||
// 🆕 Cache ride state in Redis — use $statusText (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' => $rideId,
|
||||
'status' => 'cancelled_by_driver',
|
||||
'status' => $statusText,
|
||||
'driver_id' => $driverId,
|
||||
'passenger_id' => $passenger_id ?? '',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user