deferred typo timeout performance fix

This commit is contained in:
Mark Nadal 2018-02-03 12:27:40 -08:00
parent 73019d642c
commit a32fa7cc8c
2 changed files with 2 additions and 2 deletions

2
gun.js
View File

@ -723,7 +723,7 @@
if(u !== ctx.defer){
setTimeout(function(){
Gun.on.put(msg, gun);
}, ctx.defer - at.machine);
}, ctx.defer - ctx.machine);
}
if(!ctx.diff){ return }
at.on('put', obj_to(msg, {put: ctx.diff}));

View File

@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.9.91",
"version": "0.9.92",
"description": "A realtime, decentralized, offline-first, graph data synchronization engine.",
"main": "index.js",
"browser": "gun.min.js",