<commit_before>var app = require('../app')

switch (process.env.NODE_ENV || 'development') {
  case 'development':
    app.constant('MAX_IMAGE_SIZE', 512 * 1024)
    break
  default:
    app.constant('MAX_IMAGE_SIZE', 2 * 1024 * 1024)
    break
}
<commit_msg>Increase max image attachment to 32mb<commit_after>var app = require('../app')

app.constant('MAX_IMAGE_SIZE', 32000000) // 32mb

{'fraction_non_alphanumeric': 0.15206185567010308, 'fraction_numerical': 0.07216494845360824, 'mean_word_length': 4.256756756756757, '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': '6517634', 'n_tokens_mistral': 158, 'n_tokens_neox': 127, 'n_words': 29}