performs better without it

This commit is contained in:
dadav 2020-04-15 17:02:50 +02:00
parent 585b208e9e
commit 3965bdb554

View File

@ -273,7 +273,6 @@ class Logtail(plugins.Plugin):
if path == 'stream':
def generate():
with open(self.config['main']['log']['path']) as f:
yield f.read()
while True:
yield f.readline()