internal modifications
This commit is contained in:
@@ -65,6 +65,11 @@ func AssignCRMMiler(bookingID int) {
|
||||
"booking_id", bookingID,
|
||||
"max_retries", maxRetries,
|
||||
)
|
||||
|
||||
// Terminal failure — same handoff as the B2C path. Both entry points must
|
||||
// publish, or failures arriving via the CRM console stay invisible to the
|
||||
// DispatchAgent.
|
||||
publishAssignmentFailed(bookingID, reasonNoMilerAvailable)
|
||||
}
|
||||
|
||||
// tryAssign performs a single attempt: queries Redis GEO, scores candidates, commits.
|
||||
|
||||
Reference in New Issue
Block a user