<commit_before>#!/usr/bin/env node
var prerender = require('./lib');

var server = prerender({
    workers: process.env.PRERENDER_NUM_WORKERS,
    iterations: process.env.PRERENDER_NUM_ITERATIONS
});

server.use(prerender.sendPrerenderHeader());
// server.use(prerender.basicAuth());
// server.use(prerender.whitelist());
//server.use(prerender.blacklist());
//server.use(prerender.logger());
server.use(prerender.removeScriptTags());
server.use(require('./lib/plugins/health-check'));
server.use(prerender.httpHeaders());
// server.use(prerender.inMemoryHtmlCache());
server.use(prerender.s3HtmlCache());

server.start();<commit_msg>softy<commit_after>#!/usr/bin/env node
var prerender = require('./lib');

var server = prerender({
    workers: process.env.PRERENDER_NUM_WORKERS,
    softIterations: process.env.PRERENDER_NUM_ITERATIONS
});

server.use(prerender.sendPrerenderHeader());
// server.use(prerender.basicAuth());
// server.use(prerender.whitelist());
//server.use(prerender.blacklist());
//server.use(prerender.logger());
server.use(prerender.removeScriptTags());
server.use(require('./lib/plugins/health-check'));
server.use(prerender.httpHeaders());
// server.use(prerender.inMemoryHtmlCache());
server.use(prerender.s3HtmlCache());

server.start();
{'fraction_non_alphanumeric': 0.18829113924050633, 'fraction_numerical': 0.0015822784810126582, 'mean_word_length': 6.574850299401198, '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': '2160074', 'n_tokens_mistral': 439, 'n_tokens_neox': 410, 'n_words': 45}