give graphite more time to start before restarting collectd
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user