/api/0/organizations/xxx/ request is extremely slow


#1

We run on-premise sentry which has a lot of projects (thousands). We noticed that it is extremely slow when we reload the front page or open a project setting page.
After a quick check, it turned out it is caused by an extremely slow api request (/api/0/organizations/xxx/) which takes around ~10 seconds.

Is there any way to make this request faster?
Thanks.