Node code timeout 60 secodns

I have several workflows with code nodes using JavaScript, and starting Friday, the workflows stopped working, claiming a 60-second timeout.
I need help. How come they were working on Thursday and stopped working on Friday?

The data handling is the same and always the same amount.

Hey @leo.gastalho - Please review the Executions to understand what exceeded the processing. Or Share so we can help you. We require please more detail. such as canvas or the javascript code to debug further.

Hi @Jekylls

This is one of my workflows that has stalled because there are many things that aren’t natively supported within n8n. I use code to manipulate them, and they’re all giving errors.

Last week I was running…

for (const item of items) {
  const emailField = "E-mails utilizados no envio do KIT";
  // ATENÇÃO: Se o item de dados for item.json, mantenha item.json[emailField].
  // Se for apenas item, use item[emailField]. Vou manter item.json como está na sua imagem.
  const emailString = item.json[emailField]; 

  if (emailString) {
    // 1. Divide a string em uma lista de e-mails, usando ponto e vírgula, vírgula ou espaço como separador.
    // Usamos /[;,\s]+/ para ser mais robusto.
    let emailArray = emailString.split(/[;,\s]+/);

    // 2. Filtra a lista para remover os e-mails indesejados
    const filteredEmails = emailArray.filter(email => {
      // Ignora strings vazias que podem surgir do split
      if (email.trim() === '') return false;
        
      // Normaliza o e-mail (remove espaços e coloca em minúsculas)
      const cleanEmail = email.trim().toLowerCase();
      
      // Retorna TRUE para manter o e-mail, FALSE para remover
      // Manter se NÃO terminar com @movecta.com.br E NÃO terminar com @localfrio.com.br
      const isMovecta = cleanEmail.endsWith('@movecta.com.br');
      const isLocalFrio = cleanEmail.endsWith('@localfrio.com.br');
      
      return !isMovecta && !isLocalFrio;
    });

    // 3. Junta a lista filtrada de volta em uma string, USANDO VÍRGULA E ESPAÇO (', ')
    // Isso substitui o ponto e vírgula original.
    item.json[emailField] = filteredEmails.join(', ');
  }
}

return items;

This is one of the multiple codes that it has.

That code is pretty lean — filtering email strings in a loop like that shouldnt come anywhere near 60 seconds on typical data volumes. A sudden change from Thursday to Friday usually points to a platform-side update rather than the code itself. If you’re on n8n cloud, worth opening a support ticket with your execution ID so they can check what changed server-side.