<commit_before>var config = require("./config.js").get;

// calculate the urlstub
var auth = "//" + config.cloudant.username + ":" + config.cloudant.password + "@";
var urlstub = config.cloudant.server.replace("//", auth) + ":" + config.cloudant.port;

// start up the nano driver
var nano = require('nano')(urlstub);

// connections to databases
var feeds = nano.db.use('feeds');
var articles = nano.db.use('articles');

// async library
var async = require('async');

// create the feeds database<commit_msg>increase number of outgoing http/https connections<commit_after>var config = require("./config.js").get;

// calculate the urlstub
var auth = "//" + config.cloudant.username + ":" + config.cloudant.password + "@";
var urlstub = config.cloudant.server.replace("//", auth) + ":" + config.cloudant.port;

// start up the nano driver
var nano = require('nano')(urlstub);

// connections to databases
var feeds = nano.db.use('feeds');
var articles = nano.db.use('articles');

// async library
var async = require('async');

// set http max connections
var http = require('http');
http.globalAgent.maxSockets = 25;

// set https max connections
var https = require('https');
https.globalAgent.maxSockets = 25;

// create the feeds database
{'fraction_non_alphanumeric': 0.168141592920354, 'fraction_numerical': 0.003218020917135961, 'mean_word_length': 4.248945147679325, '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': '4512579', 'n_tokens_mistral': 395, 'n_tokens_neox': 378, 'n_words': 104}