<commit_before>var config = require("modules/configuration"),
	vertx = require("vertx"),
	client = vertx.createHttpClient()
			.host(config.host)
			.port(config.port),
	log = require("vertx/container").logger;

log.info("Http client initialized to connect with solr at http://"+config.host+":"+config.port);

module.exports = config.keepalive ?
					client.maxPoolSize(config.maxConnections) :
					client.keepalive(false);<commit_msg>Bugfix: bad function name while setting keepalive false<commit_after>var config = require("modules/configuration"),
	vertx = require("vertx"),
	client = vertx.createHttpClient()
			.host(config.host)
			.port(config.port),
	log = require("vertx/container").logger;

log.info("Http client initialized to connect with solr at http://"+config.host+":"+config.port);

module.exports = config.keepalive ?
					client.maxPoolSize(config.maxConnections) :
					client.keepAlive(false);
{'fraction_non_alphanumeric': 0.14770240700218817, 'fraction_numerical': 0.0, 'mean_word_length': 5.267123287671233, 'pattern_counts': {'":': 2, '<': 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': '4727726', 'n_tokens_mistral': 305, 'n_tokens_neox': 279, 'n_words': 54}