From 2d24571e17980814775a7080f3a8d20da5f72687 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Wed, 24 Feb 2021 20:44:05 -0800 Subject: [PATCH] Change default sync to 60s Signed-off-by: Derek Collison --- server/filestore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/filestore.go b/server/filestore.go index 98562278..3e402c6b 100644 --- a/server/filestore.go +++ b/server/filestore.go @@ -173,7 +173,7 @@ const ( // cache idx expiration defaultCacheIdxExpiration = 5 * time.Minute // default sync interval - defaultSyncInterval = 10 * time.Second + defaultSyncInterval = 60 * time.Second // coalesceMinimum coalesceMinimum = 16 * 1024 // maxFlushWait is maximum we will wait to gather messages to flush.