Clarify in docs how to control connections_pool for Gun.
authorMark Felder <feld@FreeBSD.org>
Mon, 2 Mar 2020 19:00:05 +0000 (13:00 -0600)
committerMark Felder <feld@FreeBSD.org>
Mon, 2 Mar 2020 19:00:05 +0000 (13:00 -0600)
It could easily be confused with the Hackney settings.

docs/configuration/cheatsheet.md

index 507f15b878692ff572c73fe36ab08b76c8009527..abb5a3c5f6db62ed3422b9e015c31f4653c9f7da 100644 (file)
@@ -395,7 +395,8 @@ For each pool, the options are:
 
 Advanced settings for connections pool. Pool with opened connections. These connections can be reused in worker pools.
 
-For big instances it's recommended to increase `max_connections` up to 500-1000. It will increase memory usage, but federation would work faster.
+For big instances it's recommended to increase `config :pleroma, :connections_pool, max_connections: 500` up to 500-1000.
+It will increase memory usage, but federation would work faster.
 
 * `:receive_connection_timeout` - timeout to receive connection from pool. Default: 250ms.
 * `:max_connections` - maximum number of connections in the pool. Default: 250 connections.