mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
resources: Add timeout to the HTTP request in Get
Workaround for https://github.com/golang/go/issues/49366
This commit is contained in:
2
cache/filecache/filecache_test.go
vendored
2
cache/filecache/filecache_test.go
vendored
@@ -276,7 +276,7 @@ func TestFileCacheReadOrCreateErrorInRead(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
cache := NewCache(afero.NewMemMapFs(), 100*time.Hour, "")
|
||||
cache := NewCache(afero.NewMemMapFs(), 100*time.Hour, 0, "")
|
||||
|
||||
const id = "a32"
|
||||
|
||||
|
Reference in New Issue
Block a user