mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
add todo
This commit is contained in:
parent
6dcb3b4ca0
commit
01272092eb
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue