mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
deferred typo timeout performance fix
This commit is contained in:
parent
73019d642c
commit
a32fa7cc8c
2
gun.js
2
gun.js
@ -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}));
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user