diff --git a/lib/server/websocket.js b/lib/server/websocket.js index ed343511394..9b1442fc163 100644 --- a/lib/server/websocket.js +++ b/lib/server/websocket.js @@ -294,7 +294,7 @@ function init (env, ctx, server) { socket.on('dbAdd', function dbAdd (data, callback) { console.log(LOG_WS + 'dbAdd client ID: ', socket.client.id, ' data: ', data); var collection = supportedCollections[data.collection]; - var maxtimediff = times.mins(1).msecs; + var maxtimediff = times.secs(2).msecs; var check = checkConditions('dbAdd', data); if (check) {