rbbt-util 5.26.143 → 5.26.144
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etc/app.d/semaphores.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1b2467d1965a7b3193c7cce9c8b80392e0d03a2d5d3dcecf7b888a23b37c15
|
4
|
+
data.tar.gz: e98bbb5c4cb10d92e4625535b27a5c04d33c419210f5f0356528734af573df3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25df4d7a30824178a2165f6f61c05289218d3730839a82b0b92809d72b568967f675a2832a55a1885beb9ba51599303c553e283262be57b14fc2a713f5ed200c
|
7
|
+
data.tar.gz: 8e7a2d0c8d277d90b9f545c7b21759cc7c3ab798eaf8ba77cc342de3165b57cb9897873647165e5e6a5545179c52180b525c92d3a34db3cffbe0978b7db5c806
|
data/etc/app.d/semaphores.rb
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
$rest_cache_semaphore = "/REST_SEMAPHORE"
|
4
4
|
parallel_rest_jobs = Rbbt::Config.get('parallel_rest_jobs', :parallel_rest_jobs, :rest_jobs, :default => 2)
|
5
|
+
|
6
|
+
parallel_rest_jobs = parallel_rest_jobs.to_i if String === parallel_rest_jobs
|
7
|
+
|
5
8
|
begin
|
6
9
|
RbbtSemaphore.delete_semaphore($rest_cache_semaphore)
|
7
10
|
ensure
|