batchSlotOptimizingAlgo.ts already uses Mapbox Matrix with Redis pair caching (2-day TTL), batch size 24, and Directions fallback for single pairs; GET schedule/optimal-slots uses a 5-minute route cache.slotOptimizingAlgo.ts path still calls Directions per slot; dispatch map tooling uses getDirectionsFromMapbox.ts and milesCalculations.ts separately — no unified budget or reuse across features.mapbox:distance:{from}:{to} in batchSlotOptimizingAlgo.ts); warm cache once per inspector-day stop list.batchSlotOptimizingAlgo.ts, slotOptimizingAlgo.ts, getDirectionsFromMapbox.ts, and future optimize endpoints behind one module.attik-backend/src/util/functions/schedule/batchSlotOptimizingAlgo.tsattik-backend/src/util/functions/schedule/slotOptimizingAlgo.tsattik-backend/src/routes/schedule.tsattik-backend/src/util/functions/maps/getDirectionsFromMapbox.tsattik-backend/src/routes/milesCalculations.tsPlease authenticate to join the conversation.
Planned
Main App
About 10 hours ago
Linear
Get notified by email when there are changes.
Planned
Main App
About 10 hours ago
Linear
Get notified by email when there are changes.