-
Notifications
You must be signed in to change notification settings - Fork 13k
[FIX] MAU when using micro services #24204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request introduces 1 alert when merging c7d7bb6 into 6e16ba8 - view on LGTM.com new alerts:
|
| await aggregates.dailySessionsOfYesterday(Sessions.col, yesterday).forEach(async (record) => { | ||
| await Sessions.updateOne( | ||
| { _id: `${record.userId}-${record.year}-${record.month}-${record.day}` }, | ||
| { $set: record }, | ||
| { upsert: true }, | ||
| ); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| await aggregates.dailySessionsOfYesterday(Sessions.col, yesterday).forEach(async (record) => { | |
| await Sessions.updateOne( | |
| { _id: `${record.userId}-${record.year}-${record.month}-${record.day}` }, | |
| { $set: record }, | |
| { upsert: true }, | |
| ); | |
| }); | |
| await aggregates.dailySessionsOfYesterday(Sessions.col, yesterday).map(async (record) => Sessions.updateOne( | |
| { _id: `${record.userId}-${record.year}-${record.month}-${record.day}` }, | |
| { $set: record }, | |
| { upsert: true }, | |
| )); |
| onClose: (fn): void => { | ||
| this.on('close', fn); | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should check if this is intended, looks more a leak but not sure
…hat into improve/setup-wizard * 'improve/setup-wizard' of github.com:RocketChat/Rocket.Chat: Regression: Fix handling of http requests in apps bridge (#24211) Bump version to 4.3.2 [FIX] Integration section crashing opening in My Account (#24068) Chore: Update Apps-Engine to 1.29.2 (#24171) [FIX] App Framework Enable hanging indefinitely (#24158) [FIX] CSV Importer failing to import users (#24090) Fix Engagement Dashboard API requests (#24142) [FIX] MAU when using micro services (#24204) [IMPROVE] Limit recent emojis to 27 (#24210) Bump version to 4.3.1 Bump Fuselage packages [FIX][APPS] Action buttons not removed when app is disabled or uninstalled (#24107) [FIX][APPS] Prevents emails from being sent when apps framework is disabled (#24105) [FIX] Ensure Firefox 91 ESR support (#24096) Chore: Update Livechat (#24091) [FIX] Omnichannel enabled setting not working when creating rooms (#24067) [FIX] Enter not working on modal's multi-line input (#23981) [FIX] Omnichannel Current chats pagination not working (#24039)
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments