fluent-plugin-multiprocess 0.2.0 → 0.2.1

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: e48192b877aec8789d3f5b8cf783809230b04995
4
- data.tar.gz: e5a6014ced8cc68e46dfb46e1d7a9cf46ec8ea11
3
+ metadata.gz: f62c0824df62390babe3b48fc497e3c2a27b231d
4
+ data.tar.gz: afb535b89379b8d4be67ee7089dda927f3da4f3f
5
5
  SHA512:
6
- metadata.gz: 3188545bc5a4d78367f297a6d37ebddead7051c24e54b3774b9a08bb339c131013454af251bd40bbd0d0c6a5fd329153ae8eb2b45b339dae1a13f53f06561ec0
7
- data.tar.gz: 6ae0935a863b11210207409e7fc430a15018e0785ea0714ab540528449a61c734cfa54e91791254a753d744781e86afec072a913927e4870aed3d6c3e7c0bb2c
6
+ metadata.gz: 31d443e158852bd9f0fabd8de242d5222abd4ca3078f22c2329f0a12de9d92c80b168b951d4c1d68ef721d03051bf0dcc180db3d243ce829df082bda0c8d6b0d
7
+ data.tar.gz: 14a1cb7fb56a85f64ca8c55b85f14fe32e25e40e430a9f64b6d3ed2b922f6224869ac9fc710386fdfaab0c59d09c5abbde8978e14fdbc781f3ec25339ace1fa3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -15,8 +15,9 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
- module Fluent
18
+ require 'fluent/input'
19
19
 
20
+ module Fluent
20
21
  class MultiprocessInput < Input
21
22
  Plugin.register_input('multiprocess', self)
22
23
 
@@ -53,6 +54,8 @@ module Fluent
53
54
  end
54
55
 
55
56
  def start
57
+ super
58
+
56
59
  @pm = ServerEngine::ProcessManager.new(
57
60
  :auto_tick => true,
58
61
  :auto_tick_interval => 1,
@@ -79,6 +82,8 @@ module Fluent
79
82
  end
80
83
 
81
84
  def shutdown
85
+ super
86
+
82
87
  @processes.each {|pe|
83
88
  sleep pe.sleep_before_shutdown if pe.sleep_before_shutdown > 0
84
89
  $log.info "shutting down child fluentd #{pe.cmdline}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-multiprocess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-17 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.2.2
95
+ rubygems_version: 2.5.1
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Multiprocess agent plugin for Fluentd event collector