From ab8a9577865557dc418e72363882e2fffa9d3457 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 15 Oct 2023 03:34:16 -0400 Subject: [PATCH] feat: run ps:restore in parallel by default This will speed up restores in cases where app containers disappear on reboot or have new IPs, which primarily impacts the docker-local scheduler in conjunction with nginx. Closes #4967 --- plugins/00_dokku-standard/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/00_dokku-standard/install b/plugins/00_dokku-standard/install index 3600a927d..3cd730920 100755 --- a/plugins/00_dokku-standard/install +++ b/plugins/00_dokku-standard/install @@ -18,7 +18,7 @@ start on filesystem and started docker script sleep 2 # give docker some time - sudo -i -u dokku $dokku_path ps:restore + sudo -i -u dokku $dokku_path ps:restore --parallel -1 end script EOF fi @@ -33,7 +33,7 @@ After=docker.service [Service] Type=simple User=dokku -ExecStart=$dokku_path ps:restore +ExecStart=$dokku_path ps:restore --parallel -1 [Install] WantedBy=docker.service