mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 01:47:33 +00:00
fix(auth): efficient user session projection (#7187)
* fix(auth): cache users during session projection
* fix(auth.user_sessions): add index for more efficient by user search
(cherry picked from commit 43f1d59649
)
This commit is contained in:
1
cmd/setup/20.sql
Normal file
1
cmd/setup/20.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE INDEX CONCURRENTLY IF NOT EXISTS user_sessions_by_user ON auth.user_sessions (instance_id, user_id);
|
Reference in New Issue
Block a user