Make it go fast
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
e34b04c8ca
commit
dce38567a3
|
@ -277,6 +277,7 @@ class FileTailer(object):
|
||||||
break
|
break
|
||||||
buf = self.buf[:step + 1]
|
buf = self.buf[:step + 1]
|
||||||
self.buf = self.buf[step + 1:]
|
self.buf = self.buf[step + 1:]
|
||||||
|
await asyncio.sleep(0)
|
||||||
yield self.offset, len(buf), buf[:-1].decode("utf-8")
|
yield self.offset, len(buf), buf[:-1].decode("utf-8")
|
||||||
self.offset += step + 1
|
self.offset += step + 1
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue