mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Upgraded to Meteor 2.8.2. This could fix memory leaks. See https://forums.meteor.com/t/meteor-v2-8-memory-leak-in-mongo-driver/59101/23 .
Added Mongo sessions count to Admin Panel / Version at bottom of page, see that it is not growing all the time. Thanks to Meteor developers and xet7 !
This commit is contained in:
parent
bd03669d73
commit
49404203ab
8 changed files with 3588 additions and 2149 deletions
|
|
@ -102,6 +102,11 @@ if (Meteor.isServer) {
|
|||
mongoStorageEngine,
|
||||
mongoOplogEnabled,
|
||||
};
|
||||
const client = MongoInternals.defaultRemoteCollectionDriver()?.mongo?.client;
|
||||
const sessionsCount = client?.s?.activeSessions?.size;
|
||||
statistics.session = {
|
||||
sessionsCount: sessionsCount,
|
||||
};
|
||||
return statistics;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue