mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Reduce response cache size. (#214)
This commit is contained in:
parent
02ca78ee7a
commit
8fb1871dce
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public class DownloaderImpl extends Downloader {
|
|||
final LoadingCache<Request, Response> responseCache = Caffeine.newBuilder()
|
||||
.expireAfterWrite(1, TimeUnit.MINUTES)
|
||||
.scheduler(Scheduler.systemScheduler())
|
||||
.maximumSize(1000).build(this::executeRequest);
|
||||
.maximumSize(100).build(this::executeRequest);
|
||||
|
||||
@Override
|
||||
public Response execute(@NotNull Request request) {
|
||||
|
|
Loading…
Reference in a new issue