gravity icon indicating copy to clipboard operation
gravity copied to clipboard

Do not split the application hook into lines when streaming

Open a-palchikov opened this issue 4 years ago • 0 comments

Seeing this in the update operation logs:

Wed Apr 22 18:37:55 UTC [WARN] Failed to stream logs for hook update: bufio.Scanner: token too long.

After taking a look at how hooks are streamed, it is obvious that we do not need to break the stream into lines here and just use a simpler byte streamer to show available bytes so far.

a-palchikov avatar Apr 23 '20 12:04 a-palchikov