cleanup torrent cache

This commit is contained in:
Mukhtar Akere
2025-06-14 16:55:45 +01:00
parent a539aa53bd
commit 22280f15cf
5 changed files with 83 additions and 57 deletions

View File

@@ -137,10 +137,10 @@ func (c *Cache) refreshRclone() error {
}
client := &http.Client{
Timeout: 10 * time.Second,
Timeout: 60 * time.Second,
Transport: &http.Transport{
MaxIdleConns: 10,
IdleConnTimeout: 30 * time.Second,
IdleConnTimeout: 60 * time.Second,
DisableCompression: false,
MaxIdleConnsPerHost: 5,
},