Log conversation job wait time and duration
This commit is contained in:
parent
2674e2f9f9
commit
61ac79e9ae
6 changed files with 118 additions and 78 deletions
|
@ -3507,7 +3507,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)!;
|
||||
return conversation.queueJob(async () => {
|
||||
return conversation.queueJob('handleDataMessage', async () => {
|
||||
window.log.info(
|
||||
`Starting handleDataMessage for message ${message.idForLogging()} in conversation ${conversation.idForLogging()}`
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue