fourkites-sqspoller 0.1.12.22 → 0.1.12.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sqspoller/message_delegator.rb +1 -1
- data/sqspoller.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGEyNjA3MGFhMDNmNjc5ZmMyZDc0M2E4MjY1M2QxM2NlY2I4MTAyMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDNmZDM2ZjhjOWYzOWE5MjkxY2RmMGJiMWNkODUwMjY5MmEzOTY3Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzllYTE5MzI5OWIwNTZjMWU1MmYwOWFiMzgwYWU0MGU5ZTc4OWZjOWNmNWQ5
|
10
|
+
MWExMzlhOGI5YmM3NDhkMWU4YjNlNWU2MmMxMGRkYTRlNjczYmExODQxMGVl
|
11
|
+
MDVhMTU1MDEyYTlhMGUyOWMxZWU1ZjhiMmM2ZjZjOTMzMTlmZDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDI1Mzg4Y2RhMTQyZDhjNmIyMzNmMjUxNzU4YzgyNTM1NTBmODBjNTE1YWI2
|
14
|
+
ZDY5NmFmNzBiMjc1ODQzNWYwYzk5YjlhMzg3YmVjZDA4MjQ4OTE0NGE4NTll
|
15
|
+
Njc2NzE1MzMxMzNkMmVmOTc5ZGNjZjJlYjM4N2M5YzE1NzA0ZDY=
|
@@ -22,7 +22,7 @@ module Sqspoller
|
|
22
22
|
def process(queue_controller, message, queue_name)
|
23
23
|
@semaphore.synchronize {
|
24
24
|
@pending_schedule_tasks +=1
|
25
|
-
if @connection_pool.queue_length
|
25
|
+
if @connection_pool.queue_length + @pending_schedule_tasks >= @max_allowed_queue_size
|
26
26
|
@logger.info "Entered wait state, connection_pool size reached max threshold, pending_schedule_tasks=#{@pending_schedule_tasks}"
|
27
27
|
while @connection_pool.queue_length > @worker_thread_pool_size || @connection_pool.queue_length + @pending_schedule_tasks >= @max_allowed_queue_size
|
28
28
|
sleep(0.01)
|
data/sqspoller.gemspec
CHANGED