mirror of https://bitbucket.org/ausocean/av.git
Merged in mem-leak-debug (pull request #136)
Mem usage fix Approved-by: kortschak <dan@kortschak.io>
This commit is contained in:
commit
3a05fd533c
|
@ -51,7 +51,7 @@ import (
|
||||||
|
|
||||||
// Ring buffer sizes and read/write timeouts.
|
// Ring buffer sizes and read/write timeouts.
|
||||||
const (
|
const (
|
||||||
ringBufferSize = 10000
|
ringBufferSize = 100
|
||||||
ringBufferElementSize = 150000
|
ringBufferElementSize = 150000
|
||||||
writeTimeout = 10 * time.Millisecond
|
writeTimeout = 10 * time.Millisecond
|
||||||
readTimeout = 10 * time.Millisecond
|
readTimeout = 10 * time.Millisecond
|
||||||
|
|
Loading…
Reference in New Issue