instance method
configure
Ruby on Rails 2.10.1
Since v1.9.3 Last seen in v2.11.0Signature
configure(&block)
No documentation comment.
Parameters
-
blockblock
Source
# File lib/kamal/sshkit_with_ext.rb, line 112
def configure(&block)
super &block
# Create this here to avoid lazy creation by multiple threads
if config.max_concurrent_starts
@start_semaphore = Concurrent::Semaphore.new(config.max_concurrent_starts)
end
end
Defined in lib/kamal/sshkit_with_ext.rb line 112
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Netssh::LimitConcurrentStartsClass