mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
MongoDB speed boost using bulkWrite()
This commit is contained in:
parent
3249d727b8
commit
e41ac08221
2 changed files with 28 additions and 2 deletions
|
@ -4972,7 +4972,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
// Add HTTP security headers to all responses
|
||||
obj.app.use(function (req, res, next) {
|
||||
// Useful for debugging reverse proxy issues
|
||||
parent.debug('httpheaders', req.headers);
|
||||
parent.debug('httpheaders', req.method, req.url, req.headers);
|
||||
|
||||
// Set the real IP address of the request
|
||||
// If a trusted reverse-proxy is sending us the remote IP address, use it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue