blackstack_commons 1.1.12 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/functions.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6c6a1715a79bae9f7695f9870b0767dd4a0debd
|
4
|
+
data.tar.gz: fbf471ae84176dcd76df2dd9e4a344acb422ca77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0636e596a18c71af2619ca03b7d7b5c9db74db47cc88c4ae8ec20399d5c249962ab053a722fcfc67f63d62c8d1ac63242504dadbe06e0741c778cd7df14747f8
|
7
|
+
data.tar.gz: d6230f34adc16b720e70a2ba5047ae697fdbfe50d8556a433cb89cbd6987feab70aec6ef41d4dd47172b1679d862817134de6e9ab5ab217623bf4eab954bcbfe
|
data/lib/functions.rb
CHANGED
@@ -508,7 +508,7 @@ module BlackStack
|
|
508
508
|
# TODO: setup max_simultaneus_calls in the configurtion file.
|
509
509
|
def self.call_post(url, params = {}, ssl_verify_mode=BlackStack::Netting::DEFAULT_SSL_VERIFY_MODE)
|
510
510
|
# build the lockfile name
|
511
|
-
raise "Max Channels cannot be higher than #{BlackStack::Netting.lockfiles.size.to_s}" if BlackStack::Netting.max_api_call_channels > BlackStack::Netting.
|
511
|
+
raise "Max Channels cannot be higher than #{BlackStack::Netting.lockfiles.size.to_s}" if BlackStack::Netting.max_api_call_channels > BlackStack::Netting.lockfiles.size
|
512
512
|
#puts ''
|
513
513
|
#puts "BlackStack::Netting.max_api_call_channels:#{BlackStack::Netting.max_api_call_channels.to_s}."
|
514
514
|
x = rand(BlackStack::Netting.max_api_call_channels)
|