Sha256: 24cc6a910310861974ff253063d240ac9a4421c7959ec930447d7c6e9bac2fa9
Contents?: true
Size: 556 Bytes
Versions: 186
Compression:
Stored size: 556 Bytes
Contents
# This is used by rbbt-rest when issuing a new job $rest_cache_semaphore = ENV["RBBT_REST_CACHE_SEMAPHORE"] || "/REST_SEMAPHORE" parallel_rest_jobs = Rbbt::Config.get('parallel_rest_jobs', :parallel_rest_jobs, :rest_jobs, :default => 2) parallel_rest_jobs = parallel_rest_jobs.to_i if String === parallel_rest_jobs begin RbbtSemaphore.delete_semaphore($rest_cache_semaphore) ensure RbbtSemaphore.create_semaphore($rest_cache_semaphore, parallel_rest_jobs) end Log.debug("Created semaphore: #{$rest_cache_semaphore} with #{parallel_rest_jobs} size")
Version data entries
186 entries across 186 versions & 1 rubygems