fourkites-sqspoller 0.1.12.20 → 0.1.12.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mjg3ZGQ3MTM0MGM5Y2I1N2YyZDQ1OWJlY2QzNGE2ZDM1ZjBiYzFlNA==
4
+ YmNiOWU5YjEyNGFkOTMwNzQyNjZmNGMwNzQyMmY3MWZjOTJlMTEyMQ==
5
5
  data.tar.gz: !binary |-
6
- ZmY4OGE2OTJmNGNkMjY1NTEyMjc0YTEyZmZhNTE2MWJmNzFjZGUwNQ==
6
+ OWQ2ODhkMjViOTA1ZjdiNzdlM2E1YjFmM2MzNzQxNjMxYmFiYjY4Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGU1MDVjNjFhMzg0NjllYWJiODZjYmE3MTk3ZDlhZWY3NDhjNGNiMjllMWE2
10
- NzI0ZTI4N2NiZGE2NjdkYThiNmNlZTA1YmNmYTcyNGNhZDA1OGEyM2YyMjZj
11
- OWZlNTMyMzk0ZDM5MGYwOWRkNDU4ODIyMTYxNTEzMDExNjcwNWI=
9
+ NTkyMzczMDg2Y2VhNTJkZjhmZmU4NDAwN2IyNmJiZmFmMDExMWVmNGNlMjYy
10
+ NDYwNTFkMzc4NzRmZTBlMzYxMTUwMmM0MjY1OTg1YTUyNWU2ZGMwNmRiZDQy
11
+ YWFmMzM2ZTllMTljNzllYTFhYmIxYzNlMDFmM2EwZjY4ZmU1YzA=
12
12
  data.tar.gz: !binary |-
13
- N2I2YmE2NWNiNzE2YzExNDJmMzRiMWY5YzU4NjMxYWY3MTI0ZjUzNjU1MmRi
14
- NDdiZDAwM2RmYTczMDYzZGFkNjdkZWY5YjNmMjdkMjNjYzEwNzYyMGUxMmQ1
15
- MDY5YjAyOGMwNmY2NTk1M2ViYmNkNzcyNGRlMDA2NmNhOTkwM2I=
13
+ ZTBlY2VjNTBiN2RkNzE1ZTc2NGNlN2NhYjM4OTRhMzc2NTk1MDJjZTdjMDNm
14
+ ZTgwZjdlNzJiYzZkYjEwM2RmZWNjY2I1NTUxNzdhZGQ1M2JlM2RkZmM5YWEz
15
+ Njg4N2YxYzYzMTM4MWQ3NTBmMjY3YTIwZWE0MzMwYzAyZjk1NmE=
@@ -23,9 +23,11 @@ module Sqspoller
23
23
  @semaphore.synchronize {
24
24
  @pending_schedule_tasks +=1
25
25
  if @connection_pool.queue_length == @max_allowed_queue_size
26
+ @logger.info "Entered wait state, connection_pool size reached max threshold"
26
27
  while @connection_pool.queue_length > @worker_thread_pool_size || @connection_pool.queue_length + @pending_schedule_tasks >= @max_allowed_queue_size
27
28
  sleep(0.01)
28
29
  end
30
+ @logger.info "Exiting wait state, connection_pool size reached below worker_thread_pool_size"
29
31
  end
30
32
  }
31
33
  begin
data/sqspoller.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'sqspoller/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "fourkites-sqspoller"
8
- spec.version = '0.1.12.20'
8
+ spec.version = '0.1.12.21'
9
9
  spec.authors = ["anshul-fk"]
10
10
  spec.email = ["anshul@fourkites.com"]
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fourkites-sqspoller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12.20
4
+ version: 0.1.12.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - anshul-fk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-23 00:00:00.000000000 Z
11
+ date: 2016-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler