mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
back to normal in hear
This commit is contained in:
parent
0e837fabb1
commit
d45d6c4d0e
4
gun.js
4
gun.js
@ -2134,8 +2134,8 @@
|
|||||||
}
|
}
|
||||||
var S = +new Date, ST;
|
var S = +new Date, ST;
|
||||||
DBG && (DBG.is = S);
|
DBG && (DBG.is = S);
|
||||||
hear.ECHO = msg.put || hear.ECHO; !(msg.ok !== -3740) && mesh.say({ok: -3740, put: ECHO, '@': msg['#']}, peer);
|
//hear.ECHO = msg.put || hear.ECHO; !(msg.ok !== -3740) && mesh.say({ok: -3740, put: ECHO, '@': msg['#']}, peer);
|
||||||
//root.on('in', msg);
|
root.on('in', msg);
|
||||||
DBG && (DBG.hd = +new Date);
|
DBG && (DBG.hd = +new Date);
|
||||||
console.STAT && (ST = +new Date - S) > 9 && console.STAT(S, ST, 'msg'); // TODO: PERF: caught one > 1.5s on tgif
|
console.STAT && (ST = +new Date - S) > 9 && console.STAT(S, ST, 'msg'); // TODO: PERF: caught one > 1.5s on tgif
|
||||||
if(ST > 1000){ require('fs').writeFile('./stats.msg.radata', JSON.stringify(msg, null, 2), noop) }
|
if(ST > 1000){ require('fs').writeFile('./stats.msg.radata', JSON.stringify(msg, null, 2), noop) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user