Skip to content

Add cleanup function in message-queue.js #10

@wkande

Description

@wkande

When the Nodejs instance (running with PM2) shuts down, call finalizeDeleteSystemMessages().

There are timeouts running that remove system messages such as the /chatrules. These message need to be removed from the group before shutdown. The msgIds to remove can be held in a simple JSON object.

{
   <msgId>: <timeoutValue>,
   ...
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions