<commit_before>'use strict';
/* jshint -W030 */
/**
 * Module dependencies
 */

var express = require('express'),
  routes = require('./routes'),
  api = require('./routes/api'),
  path = require('path'),
  flash = require('connect-flash'),
  passport = require('passport'),
  expressValidator = require('express-validator');

var app = module.exports = express();
var server = require('http').createServer(app);
var io = require('socket.io').listen(server);
var db = require('./db');
var security = require('./security');
var register = require('./routes/register');
var config = require('./config');
var RedisStore = require("connect-redis")(express);
var redis = require("redis").createClient();

/**
 * Configuration
 */

// all environments
app.set('port', process.env.PORT || config.port);<commit_msg>small fix to redis config<commit_after>'use strict';
/* jshint -W030 */
/**
 * Module dependencies
 */

var express = require('express'),
  routes = require('./routes'),
  api = require('./routes/api'),
  path = require('path'),
  flash = require('connect-flash'),
  passport = require('passport'),
  expressValidator = require('express-validator');

var app = module.exports = express();
var server = require('http').createServer(app);
var io = require('socket.io').listen(server);
var db = require('./db');
var security = require('./security');
var register = require('./routes/register');
var config = require('./config');
if (config.session_store) {
	var RedisStore = require("connect-redis")(express);
	var redis = require("redis").createClient();
}
/**
 * Configuration
 */

// all environments
app.set('port', process.env.PORT || config.port);
{'fraction_non_alphanumeric': 0.19855159927579963, 'fraction_numerical': 0.003621001810500905, 'mean_word_length': 4.858657243816254, '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': '6727132', 'n_tokens_mistral': 473, 'n_tokens_neox': 478, 'n_words': 115}