From 3f72e21970750cdac1227134272dcfe19c482552 Mon Sep 17 00:00:00 2001 From: saxon Date: Thu, 7 Feb 2019 18:03:59 +1030 Subject: [PATCH] revid: reducing ring buffer size --- revid/revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/revid.go b/revid/revid.go index 02656d03..d6620618 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -51,7 +51,7 @@ import ( // Ring buffer sizes and read/write timeouts. const ( - ringBufferSize = 10000 + ringBufferSize = 100 ringBufferElementSize = 150000 writeTimeout = 10 * time.Millisecond readTimeout = 10 * time.Millisecond