diff --git a/docs/developer/README.md b/docs/developer/README.md index 268bbe1bd..9cfdb2149 100644 --- a/docs/developer/README.md +++ b/docs/developer/README.md @@ -295,15 +295,15 @@ sudo sntp -sS time.nist.gov ``` ## Connection pool -To handle our connection to the registry, we utilize a connection pool to keep a socket open to increase responsiveness. In order to accomplish this, We are utilizing a heavily modified version of the (geventconnpool)[https://github.com/rasky/geventconnpool] library. +To handle our connection to the registry, we utilize a connection pool to keep a socket open to increase responsiveness. In order to accomplish this, we are utilizing a heavily modified version of the (geventconnpool)[https://github.com/rasky/geventconnpool] library. ### Settings The config for the connection pool exists inside the `settings.py` file. -| Name | Purpose | -| -------- | ------- | -| EPP_CONNECTION_POOL_SIZE | Determines the number of concurrent sockets that should exist in the pool. | -| POOL_KEEP_ALIVE | Determines the interval in which we ping open connections in seconds. Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE | -| POOL_TIMEOUT | Determines how long we try to keep a pool alive for, before restarting it. | +| Name | Purpose | +| ------------------------ | ------------------------------------------------------------------------------------------------- | +| EPP_CONNECTION_POOL_SIZE | Determines the number of concurrent sockets that should exist in the pool. | +| POOL_KEEP_ALIVE | Determines the interval in which we ping open connections in seconds. Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE | +| POOL_TIMEOUT | Determines how long we try to keep a pool alive for, before restarting it. | Consider updating the `POOL_TIMEOUT` or `POOL_KEEP_ALIVE` periods if the pool often restarts. If the pool only restarts after a period of inactivity, update `POOL_KEEP_ALIVE`. If it restarts during the EPP call itself, then `POOL_TIMEOUT` needs to be updated.