fluent-plugin-td 0.10.11 → 0.10.12

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Release 0.10.12 - 2012/10/15
3
+
4
+ * Overwrite buffer_chunk_limit to 32MB
5
+
6
+
2
7
  Release 0.10.11 - 2012/09/26
3
8
 
4
9
  * Use unique_id supported by fluentd v0.10.27 and td-client v0.8.33
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.11
1
+ 0.10.12
@@ -86,13 +86,9 @@ class TreasureDataLogOutput < BufferedOutput
86
86
  def configure(conf)
87
87
  super
88
88
 
89
- # force overwrite buffer_chunk_limit
90
- if @buffer.respond_to?(:buffer_chunk_limit=) && @buffer.respond_to?(:buffer_queue_limit=)
91
- if @buffer.buffer_chunk_limit > IMPORT_SIZE_LIMIT
92
- ex = @buffer.buffer_chunk_limit / IMPORT_SIZE_LIMIT
93
- @buffer.buffer_chunk_limit = IMPORT_SIZE_LIMIT
94
- @buffer.buffer_queue_limit *= ex if ex > 0
95
- end
89
+ # overwrite default value of buffer_chunk_limit
90
+ if @buffer.respond_to?(:buffer_chunk_limit=) && !conf['buffer_chunk_limit']
91
+ @buffer.buffer_chunk_limit = IMPORT_SIZE_LIMIT
96
92
  end
97
93
 
98
94
  @tmpdir = conf['tmpdir'] || @tmpdir
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.11
4
+ version: 0.10.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-11 00:00:00.000000000 Z
12
+ date: 2012-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd