give graphite more time to start before restarting collectd

This commit is contained in:
Girish Ramakrishnan
2021-03-24 10:26:19 -07:00
parent 8e8e90b390
commit 1f59974e83
+2 -2
View File
@@ -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) {