Code node delay on Cloud (infinity loop)

code node is delayed on Cloud versions.
This is cloud:

and this is on self-hosted:

anyone knows what’s happening?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
  • n8n version: 1.72.1
  • Database (default: SQLite): no db
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: win 10

Welcome to the community @islamnazmi !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


Try this code instead,

return {
  currentTime: $now
};

If you need further formatting of the date use Luxon’s methods.

hi @ihortom, i changed nothing but it got back to work. I think it was lagging

1 Like

Good to hear. I thought for a moment that was TaskRunners to blame, hence suggested to simplify your code,

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.