At the moment, identities metrics aggregation is done, leading to extra computation and slow response time for organisations with high number of identities
override_items = (
ddb_environment_v2_wrapper.get_identity_overrides_by_environment_id(
environment_id=environment_id,
feature_id=feature_id,
)
)
It should be using the environments_v2_table instead