logstash-codec-multiline 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e0a15839b1bbabcad88ee95445b72ed589a4dd
4
- data.tar.gz: bdf59bcab8b5ad4fc35906de033bde7ed658e52a
3
+ metadata.gz: 240bff98b3d582900610f232126b86146b3584c8
4
+ data.tar.gz: 38860f2762e2abb4dae31dc06b6984cbbca41d2a
5
5
  SHA512:
6
- metadata.gz: 5e0bcea055b8af6ebbd45300e2901146a2770b7937de6ca8b5f08f4a01b347cc7b876d3b675589c475b3b41f4ce65632e7edc44432a2f00b2abc5f9b7dc5d899
7
- data.tar.gz: 6333ad636771cc1e9407f9642f242ff40f59181b4073fe55e2b3aa93b9cd675ca435961aabc7f054c4cad6be072bdefc42395198b14cafb3ba7b286474e888ab
6
+ metadata.gz: 18b9d5685f6ab5d80ef617d7f3259f297a5ee8ac3f356d4fc2ba308cc8780946c3a23fcb24f56e1928c2ac409a4693e6c2fbcc393b6989058dac2b73e9bcfe74
7
+ data.tar.gz: bb509a956eeea158633944226a1a738e9c9f820ee16e6a892d1dea530aba4e0fa16d37d991cb09f5517acf59824365a6148a9eeb63031d7652a780f00254b478
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.0.9
2
+ - Fix for issue #30, eviction_timeout nil when cleaner thread is doing map cleanup.
3
+
1
4
  ## 2.0.8
2
5
  - Fix for issue #28, Memory leak when using cancel + execute on ScheduledTask.
3
6
 
@@ -329,7 +329,11 @@ module LogStash module Codecs class IdentityMapCodec
329
329
  def codec_builder(hash, k)
330
330
  codec = hash.empty? ? @base_codec : @base_codec.clone
331
331
  codec.use_mapper_auto_flush if using_mapped_auto_flush?
332
- compo = CodecValue.new(codec)
332
+ compo = CodecValue.new(codec).tap do |o|
333
+ now = Time.now
334
+ o.eviction_timeout = eviction_timestamp(now)
335
+ o.auto_flush_timeout = auto_flush_timestamp(now)
336
+ end
333
337
  hash.store(k, compo)
334
338
  end
335
339
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-multiline'
4
- s.version = '2.0.8'
4
+ s.version = '2.0.9'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The multiline codec will collapse multiline messages and merge them into a single event."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-multiline
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic