mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
caught it? maybe? now restore
This commit is contained in:
parent
7264d124a0
commit
be35790c67
@ -1,7 +1,7 @@
|
||||
;(function(){
|
||||
var cluster = require('cluster');
|
||||
if(cluster.isMaster){
|
||||
return cluster.fork() && cluster.on('exit', function(){ return;cluster.fork(); require('../lib/crashed'); });
|
||||
return cluster.fork() && cluster.on('exit', function(){ cluster.fork(); require('../lib/crashed'); });
|
||||
}
|
||||
|
||||
var fs = require('fs');
|
||||
|
1
gun.js
1
gun.js
@ -1145,7 +1145,6 @@
|
||||
|
||||
var hear = mesh.hear = function(raw, peer){
|
||||
if(!raw){ return }
|
||||
require('fs').writeFileSync('heardatadebug.json',raw,noop);
|
||||
if(opt.pack <= raw.length){ return mesh.say({dam: '!', err: "Message too big!"}, peer) }
|
||||
if(mesh === this){ hear.d += raw.length||0 ; ++hear.c } // STATS!
|
||||
var tmp = raw[0], msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user