fourkites-sqspoller 0.1.12.26 → 0.1.12.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/sqspoller/sqs_poller.rb +4 -0
- data/sqspoller.gemspec +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTFlOTg5MWQyNDE3YWEwMDc4MWIwMWY1Y2M2YjFmZDJmNzgwZmY5Ng==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 001ec1f5c54250feb60e3022adab23081f257170
|
4
|
+
data.tar.gz: 3d667a9aa38775612a510c379c408c8581272503
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MjdkNGY4MjBmN2UzOTMzYTk5ZjkwZGMwNDQ2NGE1MjZkNTA4Y2MyMWU3NTE2
|
11
|
-
ZjgxNTA2NGVhYzA1NzJlNjBkZDMzODdlYzIzZGVmODNiODlhY2I=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
Zjg1NTRhZTUwNWY0MTZkZjU4OGQ2M2Y0NjdkYzUzMjM3MTM3ZWZjNDg4Yjg1
|
14
|
-
MDg5MzllY2ExZjhkNzgyY2U5YTY2MjU5NzNhYWZjNDk0ZDFiMmYzODA2Yzk5
|
15
|
-
ZWU4YWY1MDY0NjU3MWFlOWYyZGEzNmQzZTg0NzkzOGQ1NTdlZGE=
|
6
|
+
metadata.gz: 11882b1bb067b0635b86a7d0005457d20b67582a0f3090dfd01b0a9c7b7ffcdf0440c45ef97b4b7dd6e175d4f020f21bd53547d0984fa62344d3a197e39a16d3
|
7
|
+
data.tar.gz: 860ca77c1359e26cf1543063b50f6bf53b018e05c07646711d920c5081a1116e0bfb9d2612efe53930c922bf4d04aa20be86bcca453652c47ffaca3343558479
|
data/lib/sqspoller/sqs_poller.rb
CHANGED
@@ -50,6 +50,10 @@ module Sqspoller
|
|
50
50
|
}
|
51
51
|
message_delegator = initialize_worker config[:worker_configuration], total_poller_threads, logger_file
|
52
52
|
queues_config.keys.each { |queue|
|
53
|
+
if queues_config[queue][:polling_threads] == 0
|
54
|
+
@logger.info "Polling disabled for queue: #{queue}"
|
55
|
+
next
|
56
|
+
end
|
53
57
|
@logger.info "Creating QueueController object for queue: #{queue}"
|
54
58
|
qc = QueueController.new queue, queues_config[queue][:polling_threads], message_delegator, access_key_id, secret_access_key, region, logger_file
|
55
59
|
qcs << qc
|
data/sqspoller.gemspec
CHANGED
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fourkites-sqspoller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.12.
|
4
|
+
version: 0.1.12.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- anshul-fk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.10'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: concurrent-ruby
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rest-client
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: aws-sdk
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2'
|
83
83
|
description: ''
|
@@ -88,7 +88,7 @@ executables:
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
-
- .gitignore
|
91
|
+
- ".gitignore"
|
92
92
|
- CODE_OF_CONDUCT.md
|
93
93
|
- Gemfile
|
94
94
|
- LICENSE
|
@@ -112,17 +112,17 @@ require_paths:
|
|
112
112
|
- lib
|
113
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
|
-
- -
|
120
|
+
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.5.
|
125
|
+
rubygems_version: 2.5.1
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Gem to poll messages from SQS queue and process them
|