<commit_before>const logger = require('winston');

logger.add(logger.transports.File, { filename: 'owl.log' });
console.error=logger.error;
console.log=logger.info;
console.info=logger.info;
console.debug=logger.debug;
console.warn=logger.warn;

logger.level = process.env.OWL_LOG_LEVEL || 'debug';


module.exports = {
  total_capacity: process.env.OWL_TOTAL_CAPACITY || 5,
  preemption: {
    enabled: false,
    period: 10,
    high_percent: 0.75,
    low_percent: 0.25,
    factors: {
      // default is 1
      "java": 3,
      "blackbox": 5
    },
  },
  retries: {
	  timeout: process.env.OWL_TIMEOUT || 100, //msec
	  number: process.env.OWL_RETRIES || 3 
  },
  delegate_on_failure:  process.env.OWL_DELEGATE_ON_FAILURE || false
};<commit_msg>updated default retries config<commit_after>const logger = require('winston');

logger.add(logger.transports.File, { filename: 'owl.log' });
console.error=logger.error;
console.log=logger.info;
console.info=logger.info;
console.debug=logger.debug;
console.warn=logger.warn;

logger.level = process.env.OWL_LOG_LEVEL || 'debug';


module.exports = {
  total_capacity: process.env.OWL_TOTAL_CAPACITY || 5,
  preemption: {
    enabled: false,
    period: 10,
    high_percent: 0.75,
    low_percent: 0.25,
    factors: {
      // default is 1
      "java": 3,
      "blackbox": 5
    },
  },
  retries: { // when there is no free capacity, how long should we retry
	  timeout: process.env.OWL_TIMEOUT || 100, // in msec
	  number: process.env.OWL_RETRIES || 1000
  },
  delegate_on_failure:  process.env.OWL_DELEGATE_ON_FAILURE || false
};
{'fraction_non_alphanumeric': 0.14159848961611077, 'fraction_numerical': 0.022026431718061675, 'mean_word_length': 3.6355685131195337, 'pattern_counts': {'":': 4, '<': 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': '6732645', 'n_tokens_mistral': 609, 'n_tokens_neox': 566, 'n_words': 107}