fourkites-sqspoller 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sqspoller/sqs_poller.rb +4 -4
- 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
|
+
ZjNkMWYyZjUyZjNmMTgwZjllMGJkZGFkMWM5Y2NlMTkxNmFjM2YzNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDdiMGI2NDkwZWI4Y2EzZTg5NWIzZGRjNmE3ZTUwNGUyODNkMTQ1Zg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjNjMjdjOTQ5OWE1NGI3ZDAyMjllODM3MzgwNTdjMWFjNzRhOWUzMzUwMjhl
|
10
|
+
ZDVhNjcyZGMzMjYzMThlMDNlOTk5MGM2ZjljNTk2N2JiZmVhN2IwNmZkZWU3
|
11
|
+
MDAwYTAzMTA1YjEwZDkyZWQxOGIzNjMxYmNiNDM1NGVjZjdjMjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWQyZDkyZTAxOGFhNmVmZGRhYjMxZTc1NGM2ZWNiNDY3NGFiZmJhOGUzMGUz
|
14
|
+
MGU0ZDVhNzcwMjUwMmFiMzM1ZmUyNGU1ZWE4NmU2NTIwM2RkNzZjMGNiOGI4
|
15
|
+
ODc4ODUwNmE3Y2I1NTAyYzAzYzI4MWQ0ZmE3Mjk5Y2U3MWM3YzQ=
|
data/lib/sqspoller/sqs_poller.rb
CHANGED
@@ -38,9 +38,9 @@ module Sqspoller
|
|
38
38
|
STDERR.reopen STDOUT
|
39
39
|
end
|
40
40
|
|
41
|
-
def start_poller_with_config(config, queue_config_name, access_key_id, secret_access_key, region)
|
41
|
+
def start_poller_with_config(config, queue_config_name, access_key_id, secret_access_key, region, logger_file)
|
42
42
|
puts "Started poller method"
|
43
|
-
@logger = Logger.new(
|
43
|
+
@logger = Logger.new(logger_file)
|
44
44
|
|
45
45
|
total_poller_threads = 0
|
46
46
|
qcs = []
|
@@ -71,12 +71,12 @@ module Sqspoller
|
|
71
71
|
puts "Did not receive log file name"
|
72
72
|
fork do
|
73
73
|
Process.daemon
|
74
|
-
start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region
|
74
|
+
start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region, STDOUT
|
75
75
|
end
|
76
76
|
else
|
77
77
|
puts "Did receive log file name"
|
78
78
|
daemonize log_filename
|
79
|
-
start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region
|
79
|
+
start_poller_with_config config, queue_config_name, access_key_id, secret_access_key, region, log_filename
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
data/sqspoller.gemspec
CHANGED