<commit_before>Path = require('path')

module.exports = Settings =
	internal:
		spelling:
			port: 3005
			host: process.env["LISTEN_ADDRESS"] or "localhost"
			
	redis:
		port: process.env['REDIS_PORT']
		host: process.env["REDIS_HOST"] or "localhost"
		password: process.env["REDIS_PASSWORD"] or ""
		
	mongo:
		url: process.env['MONGO_CONNECTION_STRING'] or "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"

	cacheDir: Path.resolve "cache"


	healthCheckUserId: "53c64d2fd68c8d000010bb5f"<commit_msg>remove redis from config, it doesn't use redis<commit_after>Path = require('path')

module.exports = Settings =
	internal:
		spelling:
			port: 3005
			host: process.env["LISTEN_ADDRESS"] or "localhost"
		
	mongo:
		url: process.env['MONGO_CONNECTION_STRING'] or "mongodb://#{process.env["MONGO_HOST"] or "localhost"}/sharelatex"

	cacheDir: Path.resolve "cache"


	healthCheckUserId: "53c64d2fd68c8d000010bb5f"
{'fraction_non_alphanumeric': 0.13841201716738197, 'fraction_numerical': 0.0407725321888412, 'mean_word_length': 5.524475524475524, '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': '2466547', 'n_tokens_mistral': 387, 'n_tokens_neox': 335, 'n_words': 64}