Skip to content

Commit

Permalink
fix: #3645 throttle startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed May 10, 2018
1 parent 55d25ff commit d529f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/API/Startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ module.exports = function(CLI) {
shelljs.exec(command, function(code, stdout, stderr) {
if (code === 0) {
Common.printOut(chalk.bold('[DONE] '));
return next();
return setTimeout(function() { next() }, 500);
} else {
Common.printOut(chalk.red('[ERROR] Exit code : ' + code))
return next(new Error(command + ' failed, see error above.'));
Expand Down

0 comments on commit d529f67

Please sign in to comment.