Wrap eventHandlerQueue jobs with task with timeout
This commit is contained in:
parent
5cee260063
commit
d7a2669b49
7 changed files with 112 additions and 116 deletions
|
@ -2203,7 +2203,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
const conversation = window.ConversationController.get(conversationId)!;
|
||||
const idLog = `handleDataMessage/${conversation.idForLogging()} ${message.idForLogging()}`;
|
||||
await conversation.queueJob('handleDataMessage', async () => {
|
||||
await conversation.queueJob(idLog, async () => {
|
||||
log.info(`${idLog}: starting processing in queue`);
|
||||
|
||||
// First, check for duplicates. If we find one, stop processing here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue