Update to 2021-05-04 19:00

master
Daniel Berteaud 3 years ago
parent 115eea8194
commit 3e7910b62d
  1. 3
      roles/n8n/defaults/main.yml
  2. 3
      roles/n8n/templates/n8n.service.j2

@ -53,3 +53,6 @@ n8n_protect_system: True
# How long to keep workflow execution logs in the DB before pruning them.
# The value is in hours. Default is 90 days
n8n_data_max_age: 2160
# Memory limit for the service, in MB
n8n_mem_limit: 2048

@ -14,7 +14,8 @@ ProtectSystem=full
{% endif %}
ProtectHome=yes
NoNewPrivileges=yes
MemoryLimit=2048M
MemoryLimit={{ n8n_mem_limit }}M
Environment=NODE_OPTIONS="--max-old-space-size={{ n8n_mem_limit }}"
Restart=on-failure
StartLimitInterval=0
RestartSec=30

Loading…
Cancel
Save