<commit_before>
/**
 * Module dependencies.
 */

var cluster = require('../');

require('./common');
var assert = require('assert');

cluster = cluster()
  .set('workers', 2)
  .set('restart threshold', 0)
  .use(cluster.debug())
  .start();

if (!cluster.isMaster) return;
var ppid = process.env.CLUSTER_PARENT_PID;

cluster.on('listening', function(){
  if (ppid) return cluster.close();
  cluster.restart();
  setTimeout(function() {
    throw new Error('Initial master process has turned into a zombie!');
  }, 3000);
});<commit_msg>not a zombie<commit_after>
/**
 * Module dependencies.
 */

var cluster = require('../');

require('./common');
var assert = require('assert');

cluster = cluster()
  .set('workers', 2)
  .set('restart threshold', 0)
  .use(cluster.debug())
  .start();

if (!cluster.isMaster) return;
var ppid = process.env.CLUSTER_PARENT_PID;

cluster.on('listening', function(){
  if (ppid) return cluster.close();
  cluster.restart();
  setTimeout(function() {
    throw new Error('Failed to kill parent master');
  }, 3000);
});
{'fraction_non_alphanumeric': 0.1908831908831909, 'fraction_numerical': 0.011396011396011397, 'mean_word_length': 4.3232323232323235, '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': '3722866', 'n_tokens_mistral': 355, 'n_tokens_neox': 338, 'n_words': 87}