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
12
deploy/migrations/0069_dispatch_outbox_user_heads.down.sql
Normal file
12
deploy/migrations/0069_dispatch_outbox_user_heads.down.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
CREATE INDEX IF NOT EXISTS dispatch_outbox_logical_shard_head_idx
|
||||
ON dispatch_outbox (
|
||||
mod(target_user_id, 256::bigint),
|
||||
target_user_id,
|
||||
pts,
|
||||
id
|
||||
);
|
||||
|
||||
DROP TRIGGER IF EXISTS dispatch_outbox_delete_user_head ON dispatch_outbox;
|
||||
DROP TRIGGER IF EXISTS dispatch_outbox_insert_user_head ON dispatch_outbox;
|
||||
DROP FUNCTION IF EXISTS dispatch_outbox_maintain_user_head();
|
||||
DROP TABLE IF EXISTS dispatch_outbox_user_heads;
|
||||
Loading…
Add table
Add a link
Reference in a new issue