Unable to set concurrency for worker

For the new update we have to change the command for the workers. But with one of my setups I have the concurrency set, and I cannot set it in version 1.2.2
Maybe something changed here as well, so would love to know what the correct command should be.
image

Information on your n8n setup

  • n8n version: 1.2.2
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: ubuntu

How exactly do you start the worker? What is the exact command? Does it include “n8n”? If so remove it.

No, the command = ‘worker --concurrency=2’
For now I changed it to just ‘worker’ to make it work.

using: 'worker' '--concurrency=2' does work. so for some reason having them in one string worked before when it was with n8n in front of it and now it needs to be seperate.

2 Likes

I suspect it is just one of those Portainer oddities, Using worker --concurrency=2 will also work but 'worker --concurrency=2' will now fail.

2 Likes

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