disabled cache
This commit is contained in:
parent
d1b052b875
commit
8e402f5919
|
@ -322,7 +322,6 @@ exports.formByIDFast = function(req, res, next, id) {
|
||||||
}
|
}
|
||||||
Form.findById(id)
|
Form.findById(id)
|
||||||
.lean()
|
.lean()
|
||||||
.cache()
|
|
||||||
.select('title language form_fields startPage endPage hideFooter isLive design analytics.gaCode')
|
.select('title language form_fields startPage endPage hideFooter isLive design analytics.gaCode')
|
||||||
.exec(function(err, form) {
|
.exec(function(err, form) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
@ -26,7 +26,7 @@ module.exports = function (io, socket) {
|
||||||
timeElapsed: data.timeElapsed,
|
timeElapsed: data.timeElapsed,
|
||||||
isSubmitted: data.isSubmitted,
|
isSubmitted: data.isSubmitted,
|
||||||
language: data.language,
|
language: data.language,
|
||||||
ipAddr: data.ipAddr,
|
ipAddr: '',
|
||||||
deviceType: data.deviceType
|
deviceType: data.deviceType
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue