Skip to content

Commit c99be99

Browse files
authored
Merge pull request #67 from reevoo/fd-fixess
Require version of systemd-journal with fd fix
2 parents 48c8066 + a2116a4 commit c99be99

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

fluent-plugin-systemd.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
2424
spec.add_development_dependency 'rubocop', '~> 0.53.0'
2525

2626
spec.add_runtime_dependency 'fluentd', ['>= 0.14.11', '< 2']
27-
spec.add_runtime_dependency 'systemd-journal', '~> 1.3'
27+
spec.add_runtime_dependency 'systemd-journal', '~> 1.3.2'
2828
end

lib/fluent/plugin/in_systemd.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ def init_journal
6666
# TODO: ruby 2.3
6767
@journal.close if @journal # rubocop:disable Style/SafeNavigation
6868
@journal = Systemd::Journal.new(path: @path)
69-
# make sure initial call to wait doesn't return :invalidate
70-
# see https://github.com/ledbettj/systemd-journal/issues/70
71-
@journal.wait(0)
7269
@journal.filter(*(@matches || @filters))
7370
seek
7471
true

0 commit comments

Comments
 (0)