<commit_before>var Cacheman = require('cacheman');

var storage_options = {
  engine: 'redis',
  port: process.env.REDIS_SERVER_PORT || 6379,
  host: process.env.REDIS_SERVER_HOST || "127.0.0.1",
  password: process.env.REDIS_SERVER_PASSWORD || <PASSWORD>
};

exports.getStorage = function() {
  return new Cacheman('handsome', storage_options)
};<commit_msg>add a redis key prefix<commit_after>var Cacheman = require('cacheman');

var storage_options = {
  engine: 'redis',
  port: process.env.REDIS_SERVER_PORT || 6379,
  host: process.env.REDIS_SERVER_HOST || "127.0.0.1",
  password: <PASSWORD>.env.REDIS_SERVER_PASSWORD || <PASSWORD>,
  prefix: process.env.REDIS_PREFIX || "handsome"
};

exports.getStorage = function() {
  return new Cacheman('handsome', storage_options)
};
{'fraction_non_alphanumeric': 0.14871794871794872, 'fraction_numerical': 0.02564102564102564, 'mean_word_length': 5.563025210084033, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4903715', 'n_tokens_mistral': 284, 'n_tokens_neox': 270, 'n_words': 51}