Reduce file cache timeout as it doesn't seem to do much

pull/8/head
Moritz Marquardt 2021-11-20 20:34:12 +01:00
rodzic b19a5ecc1d
commit 73c21d0195
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: D5788327BEE388B6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -313,7 +313,7 @@ type branchTimestamp struct {
// FileCacheTimeout specifies the timeout for the file content cache - you might want to make this quite long, depending
// on your available memory.
var FileCacheTimeout = 60*time.Minute
var FileCacheTimeout = 5*time.Minute
// FileCacheSizeLimit limits the maximum file size that will be cached, and is set to 1 MB by default.
var FileCacheSizeLimit = 1024 * 1024
// fileResponseCache stores responses from the Gitea server