NAM-APJATEL-BACKEND/utils
unknown 3d5ce0dc72 perf: skip geocoding on list endpoints, add in-memory cache
- GetAllDeviceDetails, GetDevicesWithoutConnections, GetDevicesWithoutTowers
  now pass nil geocoder to avoid Nominatim calls on list requests.
  This reduces GET /device-details response time from ~2 minutes to <1s.
- Added sync.Map cache to nominatimGeocoder so repeated calls for the
  same coordinates (e.g. GetDeviceDetailsByID) hit cache instead of
  Nominatim, preventing HTTP 429 rate limit errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 12:19:52 +07:00
..
common project init 2025-02-13 13:46:06 +07:00
helper adding olt on device creation 2025-06-30 11:12:39 +07:00
migrations adding multiple images create and update also for the responses 2025-06-15 23:00:25 +07:00
service perf: skip geocoding on list endpoints, add in-memory cache 2026-04-11 12:19:52 +07:00
validation adding bandwidth and status on odp customer assigntment 2025-06-23 16:35:13 +07:00
insecure_http.go adding more complex response and more readable also adding some feature like rbac 2025-06-11 08:24:42 +07:00
utils.go Adding New Endpoint for register and user management 2025-06-19 13:10:45 +07:00