From 01272092eb67bd63d91093b6d77aac6cff7e3a1a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 14 Jun 2022 18:02:02 +0200 Subject: [PATCH] add todo --- server/upstream/const.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/upstream/const.go b/server/upstream/const.go index ce76e21..247e1d1 100644 --- a/server/upstream/const.go +++ b/server/upstream/const.go @@ -12,6 +12,7 @@ var branchExistenceCacheTimeout = 5 * time.Minute // fileCacheTimeout specifies the timeout for the file content cache - you might want to make this quite long, depending // on your available memory. +// TODO: move as option into cache interface var fileCacheTimeout = 5 * time.Minute // fileCacheSizeLimit limits the maximum file size that will be cached, and is set to 1 MB by default.