mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
tweak
This commit is contained in:
parent
0bea0a0a39
commit
095688b8e8
@ -60,7 +60,7 @@ Gun.on('opt', function(root){
|
||||
}
|
||||
console.STAT && console.STAT(S, +new Date - S, 'stats');
|
||||
S = +new Date;
|
||||
JSON.stringifyAsync(stats, function(err, raw){ console.log("stats?", err, __dirname+'/../stats.'+(root.opt.file||file)); if(err){ return }
|
||||
JSON.stringifyAsync(stats, function(err, raw){ if(err){ return }
|
||||
fs.writeFile(__dirname+'/../stats.'+(root.opt.file||file), raw, function(err){ console.STAT && console.STAT(S, +new Date - S, 'stats stash') });
|
||||
});
|
||||
stats.over = S;
|
||||
|
Loading…
x
Reference in New Issue
Block a user