mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Speed improvement: Delete presences older than one week, and add index to presences serverId.
Thanks to xet7 ! Related #3345
This commit is contained in:
parent
ce1f3365bb
commit
9db3c93116
2 changed files with 14 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ if (Meteor.isServer) {
|
|||
'swimlaneId',
|
||||
'customField',
|
||||
'customFieldValue',
|
||||
'attachmentId'
|
||||
'attachmentId',
|
||||
];
|
||||
const responseFunc = data => {
|
||||
const paramCommentId = data.commentId;
|
||||
|
|
@ -125,7 +125,7 @@ if (Meteor.isServer) {
|
|||
'oldSwimlane',
|
||||
'label',
|
||||
'attachment',
|
||||
'attachmentId'
|
||||
'attachmentId',
|
||||
].forEach(key => {
|
||||
if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue