Trimmed a bit.
parent
bd9024064a
commit
ee57176a0b
|
@ -12,10 +12,6 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Maximum file write size we are prepared to receive from the kernel. Linux
|
|
||||||
// appears to limit writes to 128 KiB.
|
|
||||||
const maxWrite = 128 * 1024
|
|
||||||
|
|
||||||
func lineLogger(wg *sync.WaitGroup, prefix string, r io.ReadCloser) {
|
func lineLogger(wg *sync.WaitGroup, prefix string, r io.ReadCloser) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue