<commit_before>(function(){
	var nconf = require('nconf'),
		path = require('path'),
		async = require('async');

	global.env = process.env.NODE_ENV || 'production';

	nconf.argv().env();
	nconf.file('default', path.join('config', path.sep, global.env + '.json'));
	nconf.set('base_dir', __dirname);
	nconf.set('server_dir', path.join(nconf.get('base_dir'), path.sep, 'server'));
	nconf.set('client_dir', path.join(nconf.get('base_dir'), path.sep, 'client'));
	nconf.defaults({
		'api': {
			'port': 3000,
			'tripsalt': '3895ha985hva9v5hav5+jav5',
			'upload_path': path.join(nconf.get('client_dir'), 'public', 'uploads')
		},
		'client': {
			'port': 3100,
			'siteName': 'NodeIB',
			'upload_url':  '/public/uploads',
			'date_format': 'm/d/y (D) G:H'
		},
		'image': {
			'thumbnail': {
				'width': 128,
				'height': 128
			}
		},
		'video': {
			'thumbnail': {
				'width': 128,
				'height': 128
			}
		},
		'board': {
			'threadsPerPage': 10,
			'repliesShown': 5,
			'maxThreads': 2,
			'op': {
				'fileRequired': true
			}
		}
	});

	global.nconf = nconf;

	var server = require('./server'),
		client = require('./client');
	server(nconf.get('api:port'));
	client(nconf.get('client:port'), nconf.get('client:siteName'));
}());<commit_msg>Set max threads default to 100<commit_after>(function(){
	var nconf = require('nconf'),
		path = require('path'),
		async = require('async');

	global.env = process.env.NODE_ENV || 'production';

	nconf.argv().env();
	nconf.file('default', path.join('config', path.sep, global.env + '.json'));
	nconf.set('base_dir', __dirname);
	nconf.set('server_dir', path.join(nconf.get('base_dir'), path.sep, 'server'));
	nconf.set('client_dir', path.join(nconf.get('base_dir'), path.sep, 'client'));
	nconf.defaults({
		'api': {
			'port': 3000,
			'tripsalt': '3895ha985hva9v5hav5+jav5',
			'upload_path': path.join(nconf.get('client_dir'), 'public', 'uploads')
		},
		'client': {
			'port': 3100,
			'siteName': 'NodeIB',
			'upload_url':  '/public/uploads',
			'date_format': 'm/d/y (D) G:H'
		},
		'image': {
			'thumbnail': {
				'width': 128,
				'height': 128
			}
		},
		'video': {
			'thumbnail': {
				'width': 128,
				'height': 128
			}
		},
		'board': {
			'threadsPerPage': 10,
			'repliesShown': 5,
			'maxThreads': 100,
			'op': {
				'fileRequired': true
			}
		}
	});

	global.nconf = nconf;

	var server = require('./server'),
		client = require('./client');
	server(nconf.get('api:port'));
	client(nconf.get('client:port'), nconf.get('client:siteName'));
}());
{'fraction_non_alphanumeric': 0.2318380309646685, 'fraction_numerical': 0.029773719730051607, 'mean_word_length': 3.9411764705882355, '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': '4946912', 'n_tokens_mistral': 1163, 'n_tokens_neox': 979, 'n_words': 165}