instance method with_concurrency_limit

Ruby on Rails 2.10.1

Since v2.9.0 Last seen in v2.11.0 Private

Available in: v2.9.0 v2.10.1 v2.11.0

Signature

with_concurrency_limit(&block)

No documentation comment.

Parameters

block block
Source
# File lib/kamal/sshkit_with_ext.rb, line 159
      def with_concurrency_limit(&block)
        if self.class.start_semaphore
          self.class.start_semaphore.acquire(&block)
        else
          yield
        end
      end

Defined in lib/kamal/sshkit_with_ext.rb line 159 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Netssh::LimitConcurrentStartsInstance

Type at least 2 characters to search.

↑↓ navigate · open · esc close