fluent-plugin-storage-memcached 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/fluent-plugin-storage-memcached.gemspec +1 -1
- data/lib/fluent/plugin/storage_memcached.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34d8c70d6dd3e8f2ff41b4a96945edd8fcb3b2f
|
4
|
+
data.tar.gz: c6612927f7f76de9a80abbf429ff4c885bccce38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6414cf81c25f0353b11d69f7dc5c195f7e8742357c0e697d36c9997959cc0ec7efa060f27d1be76e3cb69ece5c1a671762a6fb88a37b145dd582261b7d05b62
|
7
|
+
data.tar.gz: 80ecbd8dea134013c23ef5b9e46c4a5bb1fbef7105373290737e50016345ae0a21f8cbe64716cbe78a90fa442cf4ba1fed010bf724fa6cf8d34455e04c85e19a
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
|
|
26
26
|
<storage>
|
27
27
|
@type memcached
|
28
28
|
|
29
|
-
path my_key # or conf.arg will be used as
|
29
|
+
path my_key # or conf.arg will be used as memcached key
|
30
30
|
host localhost # localhost is default
|
31
31
|
port 11211 # 11211 is default
|
32
32
|
namespace app_v1 # app_v1 is default
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-storage-memcached"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.2"
|
8
8
|
spec.authors = ["Hiroshi Hatake"]
|
9
9
|
spec.email = ["cosmo0920.oucc@gmail.com"]
|
10
10
|
|
@@ -48,7 +48,7 @@ module Fluent
|
|
48
48
|
end
|
49
49
|
|
50
50
|
options = {
|
51
|
-
|
51
|
+
threadsafe: true,
|
52
52
|
namespace: @namespace,
|
53
53
|
compress: @compress,
|
54
54
|
serializer: @serializer,
|
@@ -65,7 +65,7 @@ module Fluent
|
|
65
65
|
data = @serializer.load(object)
|
66
66
|
raise Fluent::ConfigError, "Invalid contents (not object) in plugin memcached storage: '#{@path}'" unless data.is_a?(Hash) unless data.is_a?(Hash)
|
67
67
|
rescue => e
|
68
|
-
log.error "failed to read data from plugin
|
68
|
+
log.error "failed to read data from plugin memcached storage", path: @path, error: e
|
69
69
|
raise Fluent::ConfigError, "Unexpected error: failed to read data from plugin memcached storage: '#{@path}'"
|
70
70
|
end
|
71
71
|
end
|