unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Add caching for identities

Open Flo4604 opened this issue 2 months ago • 2 comments

Whenever we do db.Query.FindIdentityWithRatelimits we should wrap this with one of our caches.

To do this the following has to be done

  • [ ] Add new cache into go/internal/services/caches/caches.go
  • [ ] Use the cache in all handlers where we call this function
  • [ ] Use the cache and pass it into the given handler(s) when
    • [ ] registering in the api start
    • [ ] in all tests

Flo4604 avatar Oct 23 '25 20:10 Flo4604

ENG-2143

linear[bot] avatar Oct 23 '25 20:10 linear[bot]

Hi @Flo4604 I would like to work on this issue.

Akhileshait avatar Oct 26 '25 13:10 Akhileshait