From 2ba893bc79eb7e8cdcf5dfe4929f818247fcd82d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 14 Mar 2024 22:59:38 +0100 Subject: [PATCH] Bump the number of simultaneous workers We're in 2024, I'm pretty sure we can afford to have 16 simultaneous open http connections at the same time, instead of only 5. --- internal/config/options.go | 2 +- miniflux.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/options.go b/internal/config/options.go index 483192f9..2169504f 100644 --- a/internal/config/options.go +++ b/internal/config/options.go @@ -27,7 +27,7 @@ const ( defaultBaseURL = "http://localhost" defaultRootURL = "http://localhost" defaultBasePath = "" - defaultWorkerPoolSize = 5 + defaultWorkerPoolSize = 16 defaultPollingFrequency = 60 defaultForceRefreshInterval = 30 defaultBatchSize = 100 diff --git a/miniflux.1 b/miniflux.1 index 81e8d721..a07c678e 100644 --- a/miniflux.1 +++ b/miniflux.1 @@ -165,7 +165,7 @@ Default is "info"\&. .B WORKER_POOL_SIZE Number of background workers\&. .br -Default is 5 workers\&. +Default is 16 workers\&. .TP .B POLLING_FREQUENCY Refresh interval in minutes for feeds\&.