instance method
start_with_concurrency_limit
Ruby on Rails 2.2.2
Since v1.9.3 Last seen in v2.8.2 PrivateSignature
start_with_concurrency_limit(*args)
No documentation comment.
Parameters
-
argsrest
Source
# File lib/kamal/sshkit_with_ext.rb, line 94
def start_with_concurrency_limit(*args)
if self.class.start_semaphore
self.class.start_semaphore.acquire do
Net::SSH.start(*args)
end
else
Net::SSH.start(*args)
end
end
Defined in lib/kamal/sshkit_with_ext.rb line 94
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Netssh::LimitConcurrentStartsInstance