Worker: chunk logs at 10kB instead of 1kB
Send logs in bigger chunks, otherwise a Blender render can cause too many individual requests.
This commit is contained in:
parent
3e5f681321
commit
c4cda79ec0
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
// When the buffer grows beyond this many bytes, flush.
|
||||
const defaultLogChunkerBufferFlushSize = 1024
|
||||
const defaultLogChunkerBufferFlushSize = 10240
|
||||
|
||||
// When the last flush was this long ago, flush.
|
||||
const defaultLogChunkerFlushMaxInterval = 30 * time.Second
|
||||
|
Loading…
x
Reference in New Issue
Block a user