<commit_before>'use strict';
var path = require('path');
var forever = require('forever-monitor');
var child = new(forever.Monitor)(path.join(__dirname, 'server.js'), {
    max: 5,
    silent: true,
    args: []
});

child.start();<commit_msg>update forever.js<commit_after>'use strict';
var path = require('path');
var forever = require('forever-monitor');
var child = new(forever.Monitor)(path.join(__dirname, 'server.js'), {
    max: 5,
    silent: true,
    args: [],
    pidFile: path.join(__dirname, 'hub.pid'),
    minUptime: 2000,
    spinSleepTime: 1000,
});

child.on('start', function () {
    console.log('bunyan-hub server.js started');
});

child.on('exit', function () {
    console.log('bunyan-hub server.js has exited after 5 restarts');
});

child.start();
{'fraction_non_alphanumeric': 0.18992248062015504, 'fraction_numerical': 0.014211886304909561, 'mean_word_length': 4.381944444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1712783', 'n_tokens_mistral': 269, 'n_tokens_neox': 257, 'n_words': 57}