give graphite more time to start before restarting collectd

(cherry picked from commit 1f59974e83)
This commit is contained in:
Girish Ramakrishnan
2021-03-24 10:26:19 -07:00
parent 9be09510d4
commit 6c40cceddc
+2 -2
View File
@@ -2153,9 +2153,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) {