mod sync and archive plugin
This commit is contained in:
parent
3f01d7032f
commit
237af4a63e
16 changed files with 432 additions and 51 deletions
plugins/qbittorrent
|
@ -42,7 +42,7 @@ func wrapClient(qb qbittorrent.Client) *cacheClient {
|
|||
propertiesCache: expirable.NewLRU[string, qbittorrent.TorrentProperties](cacheSize, nil, cacheTTL),
|
||||
|
||||
infoClient: sturdyc.New[*qbittorrent.TorrentInfo](cacheSize, 1, cacheTTL, 10,
|
||||
sturdyc.WithEarlyRefreshes(time.Minute, time.Minute*5, time.Second*10, time.Second*10),
|
||||
sturdyc.WithEarlyRefreshes(time.Minute, time.Minute*2, time.Minute*3, time.Second*10),
|
||||
sturdyc.WithRefreshCoalescing(100, time.Second/4),
|
||||
sturdyc.WithMetrics(newSturdycMetrics()),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue