alephant-publisher-queue 1.2.2 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ade3942a76ca9dc03263b93476d5f12dbc77639
|
4
|
+
data.tar.gz: bd3451739e82e3ca376dfbeb9653f30c3dee65d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c190441235939f4a96500709c22d6e14e1a8561db724212d66f928df6022b9de604ad78eecd766cc8bea2bd4cf80150198db7827a97807fb4117961f9171bca
|
7
|
+
data.tar.gz: 26e421043bbfee128a1264b3f3d9bb550cfa2da7510e53a684d21663dfc82e6db31f4e4fe647563b256ccc007dbf4103bd83717ac377cb491bdaef98dcab7415
|
@@ -49,7 +49,8 @@ module Alephant
|
|
49
49
|
validate type, opts
|
50
50
|
instance.merge! opts
|
51
51
|
rescue Exception => e
|
52
|
-
logger.
|
52
|
+
logger.metric(:name => "PublisherQueueOptionsInvalidKeySpecified", :unit => "Count", :value => 1)
|
53
|
+
logger.error "Publisher::Queue::Options#validate: '#{e.message}'"
|
53
54
|
puts e.message
|
54
55
|
end
|
55
56
|
end
|
@@ -24,9 +24,11 @@ module Alephant
|
|
24
24
|
|
25
25
|
def async_store(m)
|
26
26
|
Thread.new { store(m) }
|
27
|
+
logger.metric(:name => "PublisherQueueSQSHelperAsynchronouslyArchivedData", :unit => "Count", :value => 1)
|
27
28
|
end
|
28
29
|
|
29
30
|
def store(m)
|
31
|
+
logger.metric(:name => "PublisherQueueSQSHelperSynchronouslyArchivedData", :unit => "Count", :value => 1)
|
30
32
|
logger.info "Publisher::Queue::SQSHelper::Archiver#store: '#{m.body}' at 'archive/#{date_key}/#{m.id}'"
|
31
33
|
cache.put("archive/#{date_key}/#{m.id}", m.body, meta_for(m))
|
32
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-publisher-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- revett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|