<commit_before>const axios = require('axios')
const sharp = require('sharp')

sharp.cache(false)

async function fetchPostProcessedRadarFrame(url, targetFilename) {
  const data = await fetchRadarImage(url)
  return processImage(data, targetFilename)
}

async function fetchRadarImage(url) {
  const response = await axios({url, method: 'get', responseType: 'arraybuffer'})
  return Buffer.from(response.data)
}<commit_msg>Force sharp concurrency to 1<commit_after>const axios = require('axios')
const sharp = require('sharp')

sharp.cache(false)
sharp.concurrency(1)

async function fetchPostProcessedRadarFrame(url, targetFilename) {
  const data = await fetchRadarImage(url)
  return processImage(data, targetFilename)
}

async function fetchRadarImage(url) {
  const response = await axios({url, method: 'get', responseType: 'arraybuffer'})
  return Buffer.from(response.data)
}
{'fraction_non_alphanumeric': 0.11224489795918367, 'fraction_numerical': 0.0022675736961451248, 'mean_word_length': 6.954954954954955, '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': '4518440', 'n_tokens_mistral': 272, 'n_tokens_neox': 264, 'n_words': 67}