I have a workflow with a “code” node that has been using 100% of the CPU for a while, so I can’t access n8n.
I tried deactivating the workflow with the terminal using
docker exec -u node -it n8n-container n8n update:workflow --id=<ID> --active=false but it’s not finishing the active execution.
Is there a way to solve this?
I don’t want to restart the container, as I have active workflows waiting for a specific date and they will fail.
PS: Is there a better way of testing these functions so they don’t use 100% of the CPU and block n8n?