Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: rate limit for bundle:install task when using lots of servers #94

Open
mattbrictson opened this issue Jul 16, 2017 · 1 comment

Comments

@mattbrictson
Copy link
Member

As mentioned by @gondalez in #93, the bundle:install task uses the default parallel SSHKit execution mode. This means if you have 100 servers you will potentially get 100 instances of bundle:install running concurrently. If a Gemfile uses a private gem server, this can overwhelm that server or run up against rate limits.

It would be nice to be able to configure the maximum parallelization of the bundle:install task.

However, I'd rather not introduce a bundle:install-specific configuration variable, because this sets a precedent for setting these sorts of variables for all kinds of Capistrano tasks (e.g. git:clone/update) that can run up against rate limits on shared resources. Ideally we could come up with a more generalizable solution.

@will-in-wi
Copy link
Contributor

Should the ticket for a more generalization solution be on the capistrano project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants