mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 04:35:26 -05:00
3ff142d478
* [web] Expose metric for active users in SP * Removed redundant UserHandler.setupLoginData() In the past this method was also calling a now deleted notifyDomainLicence(), but now this is just an alias for populateTeamInvites() * Added migration for `lastActive` * Added secondary read precedence to count active users GitOrigin-RevId: 86d6db31e1ae74ae40c6599e6acb731d8c4a04bd
12 lines
392 B
JavaScript
12 lines
392 B
JavaScript
const { merge } = require('@overleaf/settings/merge')
|
|
const ServerCEDefaults = require('../../../config/settings.defaults')
|
|
const base = require('./settings.test.defaults')
|
|
|
|
module.exports = base.mergeWith({
|
|
defaultFeatures: ServerCEDefaults.defaultFeatures,
|
|
activeUserMetricInterval: 100,
|
|
})
|
|
|
|
module.exports.mergeWith = function (overrides) {
|
|
return merge(overrides, module.exports)
|
|
}
|