فهرست منبع

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.
jvoisin 2 سال پیش
والد
کامیت
2ba893bc79
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      internal/config/options.go
  2. 1 1
      miniflux.1

+ 1 - 1
internal/config/options.go

@@ -27,7 +27,7 @@ const (
 	defaultBaseURL                            = "http://localhost"
 	defaultBaseURL                            = "http://localhost"
 	defaultRootURL                            = "http://localhost"
 	defaultRootURL                            = "http://localhost"
 	defaultBasePath                           = ""
 	defaultBasePath                           = ""
-	defaultWorkerPoolSize                     = 5
+	defaultWorkerPoolSize                     = 16
 	defaultPollingFrequency                   = 60
 	defaultPollingFrequency                   = 60
 	defaultForceRefreshInterval               = 30
 	defaultForceRefreshInterval               = 30
 	defaultBatchSize                          = 100
 	defaultBatchSize                          = 100

+ 1 - 1
miniflux.1

@@ -165,7 +165,7 @@ Default is "info"\&.
 .B WORKER_POOL_SIZE
 .B WORKER_POOL_SIZE
 Number of background workers\&.
 Number of background workers\&.
 .br
 .br
-Default is 5 workers\&.
+Default is 16 workers\&.
 .TP
 .TP
 .B POLLING_FREQUENCY
 .B POLLING_FREQUENCY
 Refresh interval in minutes for feeds\&.
 Refresh interval in minutes for feeds\&.