From 1f59974e832f1f46cf3b02171fafda75de4c058d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 24 Mar 2021 10:26:19 -0700 Subject: [PATCH] give graphite more time to start before restarting collectd --- src/services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services.js b/src/services.js index dadf91beb..6afa87d25 100644 --- a/src/services.js +++ b/src/services.js @@ -2157,9 +2157,9 @@ function restartGraphite(callback) { docker.restartContainer('graphite', callback); setTimeout(function () { - // wait for graphite to startup and then restart collectd + // wait for graphite to startup and then restart collectd. graphite migrations can be quite slow! shell.sudo('restartcollectd', [ RESTART_SERVICE_CMD, 'collectd' ], {}, NOOP_CALLBACK); - }, 10000); + }, 60000); } function teardownOauth(app, options, callback) {