caught it? maybe? now restore

This commit is contained in:
Mark Nadal 2020-09-19 15:34:06 -07:00
parent 7264d124a0
commit be35790c67
2 changed files with 1 additions and 2 deletions

View File

@ -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
View File

@ -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;