fix(db): ⚡ Add a messages flushing queue.

This commit is contained in:
Nyeki.py
2024-10-18 19:44:12 -03:00
parent db1dbb4349
commit e7b553662d
8 changed files with 158 additions and 90 deletions
+3
View File
@@ -170,6 +170,9 @@ MSGS_PHONE_NOT_IN_CALL = [
CHANNELS_SEARCH_QUEUE = "channels:searching"
CHANNELS_ONCALL_SET = "channels:on-call"
MESSAGES_QUEUE = "messages"
MESSAGE_CONTENTS_QUEUE = "message-contents"
MESSAGES_TO_FLUSH_IDS = "message-ids"
BAN_TEMPLATE = "b:%s"
PREFIX_TEMPLATE = "p:%s"