Add ephemeral_timestamp index for msgs table

This reduced get_chat_msgs() benchmark time from 400ms to 170ms.
This commit is contained in:
link2xt
2022-03-26 16:37:46 +00:00
parent 08d34e41c6
commit 0842e54f52
2 changed files with 10 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
- optimize `markseen_msgs` #3141
- automatically accept chats with outgoing messages #3143
- return result from `add_parts()` via structure #3154
- add index to speedup deletion of expired ephemeral messages #3155
### Fixes