perf: sync protocol and core hardening updates
This commit is contained in:
parent
152fed3b87
commit
4390ebf5a9
283 changed files with 29231 additions and 2295 deletions
5
deploy/migrations/0071_temp_auth_key_expiry_seek.up.sql
Normal file
5
deploy/migrations/0071_temp_auth_key_expiry_seek.up.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-- DeleteExpiredTempAuthKeys orders/filters the binding table by expiry and then deletes the parent
|
||||
-- auth_keys rows in a bounded batch. The PK starts with temp_auth_key_id, so it cannot serve this
|
||||
-- maintenance seek.
|
||||
CREATE INDEX IF NOT EXISTS temp_auth_key_bindings_expiry_idx
|
||||
ON public.temp_auth_key_bindings (expires_at, temp_auth_key_id);
|
||||
Loading…
Add table
Add a link
Reference in a new issue