blackstack_commons 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/functions.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6358b580030175d30e5a304c0ba7a76426f4ff16
4
- data.tar.gz: 2a972250cc65d99cac41b878c725174df7bdc9a3
3
+ metadata.gz: f88281744398cfc4f5e1aa8b2e5ce4ff2550b91d
4
+ data.tar.gz: 28991e32d50b5a3078f59f8e437e53e837235872
5
5
  SHA512:
6
- metadata.gz: eae2a84531287a4c3e283bf6177ac21949c06880497f6c2c3607abc2b34e6bf44bc8df6df89fb92b148bdf186516b7391b2214acedba0751e1e214373cb9fcad
7
- data.tar.gz: 3d7259ec2168b148d835cd0e102c57bc64e22627b215c9fe1b144d7b0c6fd24c3c1fec350ae6f069a925f3f2dc3223663f09acae8956b29e353d1d17ffd8cbe7
6
+ metadata.gz: 5785a4919841975997acd590aaf09668c73e2faee0ee86d8e05d1cd6d754e887f889fe2282d2cf39678db77b2c74a543356c07adee441dbfcb2b4fb0b9bfa3f8
7
+ data.tar.gz: e3a82ac1b18d38f4037a2e7c588d117f00a80d3dc2dc143981b6a13d0bb4cbc3bdb0c281bda4155ec9762b42f016513b2e052437e34d00ac1e1e9aac18c988c2
data/lib/functions.rb CHANGED
@@ -482,7 +482,7 @@ module BlackStack
482
482
  # ssl_verify_mode: you can disabele SSL verification here.
483
483
  # max_channels: this method use lockfiles to prevent an excesive number of API calls from each datacenter. There is not allowed more simultaneous calls than max_channels.
484
484
  # TODO: setup max_simultaneus_calls in the configurtion file.
485
- def self.call_post(url, params = {}, ssl_verify_mode=BlackStack::Netting::DEFAULT_SSL_VERIFY_MODE, max_channels=10)
485
+ def self.call_post(url, params = {}, ssl_verify_mode=BlackStack::Netting::DEFAULT_SSL_VERIFY_MODE, max_channels=1)
486
486
  # build the lockfile name
487
487
  x = rand(max_channels.to_i)
488
488
  lockfilename = "./apicall.channel_#{x.to_s}.lock"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi