mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Bugfix: 2621
This commit is contained in:
parent
7d52ae16d5
commit
86d686fe1d
1 changed files with 5 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ Meteor.methods({
|
||||||
let nodeVersion = process.version;
|
let nodeVersion = process.version;
|
||||||
nodeVersion = nodeVersion.replace('v', '');
|
nodeVersion = nodeVersion.replace('v', '');
|
||||||
statistics.process = {
|
statistics.process = {
|
||||||
nodeVersion: nodeVersion,
|
nodeVersion,
|
||||||
pid: process.pid,
|
pid: process.pid,
|
||||||
uptime: process.uptime(),
|
uptime: process.uptime(),
|
||||||
};
|
};
|
||||||
|
|
@ -30,7 +30,7 @@ Meteor.methods({
|
||||||
let meteorVersion = Meteor.release;
|
let meteorVersion = Meteor.release;
|
||||||
meteorVersion = meteorVersion.replace('METEOR@', '');
|
meteorVersion = meteorVersion.replace('METEOR@', '');
|
||||||
statistics.meteor = {
|
statistics.meteor = {
|
||||||
meteorVersion: meteorVersion,
|
meteorVersion,
|
||||||
};
|
};
|
||||||
// Thanks to RocketChat for MongoDB version detection !
|
// Thanks to RocketChat for MongoDB version detection !
|
||||||
// https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js
|
// https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js
|
||||||
|
|
@ -59,9 +59,9 @@ Meteor.methods({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
statistics.mongo = {
|
statistics.mongo = {
|
||||||
mongoVersion: mongoVersion,
|
mongoVersion,
|
||||||
mongoStorageEngine: mongoStorageEngine,
|
mongoStorageEngine,
|
||||||
mongoOplogEnabled: mongoOplogEnabled,
|
mongoOplogEnabled,
|
||||||
};
|
};
|
||||||
return statistics;
|
return statistics;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue