Skip to content

Commit

Permalink
Merge pull request #2829 from ganmacs/unnecessary-require
Browse files Browse the repository at this point in the history
socket and yajl are already required in L18 and L21
  • Loading branch information
ganmacs committed Feb 19, 2020
2 parents 9d11302 + 697be5d commit 3e7ba5d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/fluent/plugin/in_unix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ module Fluent
class StreamInput < Input
config_param :blocking_timeout, :time, default: 0.5

def initialize
require 'socket'
require 'yajl'
super
end

def start
super

Expand Down

0 comments on commit 3e7ba5d

Please sign in to comment.