fix lint issues and tests

This commit is contained in:
6543 2022-08-28 16:53:30 +02:00
parent dc023b81a8
commit ea13ac0e92
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
7 changed files with 27 additions and 33 deletions

View file

@ -30,8 +30,8 @@ var (
// 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
fileCacheTimeout = 5 * time.Minute
// fileCacheTimeout = 5 * time.Minute
// fileCacheSizeLimit limits the maximum file size that will be cached, and is set to 1 MB by default.
fileCacheSizeLimit = 1024 * 1024
// fileCacheSizeLimit = 1024 * 1024
)