mirror of
https://github.com/openziti/ziti.git
synced 2026-09-23 02:53:33 +00:00
5c47c31016
This move isolates the cost of hasApiSession to the identity endpoint lookups in the REST API. Being in the model caused this cost to be shared on all identity lookups for internal logic. Limit 1 is an attempt to reduce the cost of searching over a large set. API Sessions do not have an index on identity id so there is still some cost.