Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fluent-plugin-bin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Matevz Golob
fluent-plugin-bin
Commits
741aa75a
Commit
741aa75a
authored
Aug 29, 2019
by
Matevz Golob
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Update in_bin.rb to be compatible with in_tail.rb."
This reverts commit
271c3b3d
/reviewed-on
!1
parent
271c3b3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/fluent/plugin/in_bin.rb
lib/fluent/plugin/in_bin.rb
+1
-1
No files found.
lib/fluent/plugin/in_bin.rb
View file @
741aa75a
...
...
@@ -33,7 +33,7 @@ module Fluent::Plugin
def
setup_watcher
(
path
,
pe
)
line_buffer_timer_flusher
=
(
@multiline_mode
&&
@multiline_flush_interval
)
?
TailWatcher
::
LineBufferTimerFlusher
.
new
(
log
,
@multiline_flush_interval
,
&
method
(
:flush_buffer
))
:
nil
tw
=
TailWatcher
.
new
(
path
,
@rotate_wait
,
pe
,
log
,
@read_from_head
,
@enable_watch_timer
,
@
enable_stat_watcher
,
@
read_lines_limit
,
method
(
:update_watcher
),
line_buffer_timer_flusher
,
@from_encoding
,
@encoding
,
open_on_every_update
,
&
method
(
:receive_lines
))
tw
=
TailWatcher
.
new
(
path
,
@rotate_wait
,
pe
,
log
,
@read_from_head
,
@enable_watch_timer
,
@read_lines_limit
,
method
(
:update_watcher
),
line_buffer_timer_flusher
,
@from_encoding
,
@encoding
,
open_on_every_update
,
&
method
(
:receive_lines
))
tw
.
attach
do
|
watcher
|
timer_execute
(
:in_tail_timer_trigger
,
1
,
&
watcher
.
method
(
:on_notify
))
if
watcher
.
enable_watch_timer
event_loop_attach
(
watcher
.
stat_trigger
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment