Peter Dave Hello 5c11598326 fix: remove trailing spaces
Most of the coding style guides ask to remove trailing spaces, also,
current .editorconfig has the same config.
2018-07-02 20:34:28 +08:00

29 lines
529 B
JavaScript

// process.on('exit', function() {
// console.log('About to exit.');
// });
// process.on('uncaughtException', function(err) {
// console.log('Caught exception: ' + err);
// });
// process.on('SIGINT', function() {
// console.log('Got SIGINT. Press Control-D to exit.');
// process.exit(1);
// });
var worker = require('cluster').worker;
worker.on('disconnect', function() {
console.log('exiting');
});
setInterval(function() {
}, 1);
setInterval(function() {
console.log('ok');
}, 2000);
console.log('ok');