Commit Graph

15 Commits

Author SHA1 Message Date
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
areeqakbr 1f87bccbf4 adding update fileds for olt on usecase 2025-07-02 09:47:27 +07:00
areeqakbr 1374bfa4bf adding olt on device creation 2025-06-30 11:12:39 +07:00
areeqakbr 7259cd1393 adding for towerID response and request 2025-06-24 15:11:42 +07:00
areeqakbr 0c926d722b fixing uppercase on devicewithoutconnections 2025-06-23 13:47:39 +07:00
areeqakbr d8e51e2ff4 fixing typo 2025-06-23 13:32:15 +07:00
areeqakbr 0f034cc332 adding without connection and without towers 2025-06-18 16:14:16 +07:00
areeqakbr be3893a1dc adding delete method 2025-06-16 15:33:08 +07:00
areeqakbr 8e69a70092 fixing for device details and logic error on devices 2025-06-16 11:42:58 +07:00
areeqakbr df082319f2 adding multiple images create and update also for the responses 2025-06-15 23:00:25 +07:00
areeqakbr 1aee7e2bda updated for bulk update 2025-06-15 08:19:29 +07:00
areeqakbr 8afca3054a fix minor issue 2025-06-14 17:32:17 +07:00
areeqakbr ece05cee18 adding more response for port assignments 2025-06-14 15:30:04 +07:00
areeqakbr 751461bc34 adding trx operations and more complex features 2025-06-12 22:41:55 +07:00
areeqakbr 32c775ab24 adding nearest device and some addtion feature more complex 2025-06-11 22:48:11 +07:00