]> git.proxmox.com Git - pve-cluster.git/commitdiff
ipcc: increase restart grace period
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Apr 2019 05:42:21 +0000 (07:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Apr 2019 05:42:24 +0000 (07:42 +0200)
with bad timing and general restart overhead 5 secs were sometimes a
too small timeout, even if it happened really seldom. Increase it a
bit, as it's desired to have the connection stay a live in a lot of
cases, e.g., to not get logged out on pve-cluster update as
pveproxy's verify_ticked couldn't do IPCC.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/IPCC.xs

index decc60b721bb9ba8c92fadccf2140294872a78a1..4661df0fbfda4278dbb5c19a8a961e8f9c506531 100644 (file)
@@ -30,7 +30,7 @@
 #include <qb/qbipcc.h>
 
 #define RESTART_FLAG_FILE "/run/pve-cluster/cfs-restart-flag"
-#define RESTART_GRACE_PERIOD 5
+#define RESTART_GRACE_PERIOD 10
 
 #define PCS_SOCKET_NAME "pve2"