Skip to content

Commit

Permalink
Change deduping interval nightscout#7285
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh authored Mar 17, 2022
1 parent bf659c2 commit 5c3af54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5c3af54

Please sign in to comment.