mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
Update settings.py
This commit is contained in:
parent
f6d287cf21
commit
c165fd8401
1 changed files with 7 additions and 1 deletions
|
@ -534,9 +534,15 @@ SECRET_REGISTRY_KEY = secret_registry_key
|
||||||
SECRET_REGISTRY_KEY_PASSPHRASE = secret_registry_key_passphrase
|
SECRET_REGISTRY_KEY_PASSPHRASE = secret_registry_key_passphrase
|
||||||
SECRET_REGISTRY_HOSTNAME = secret_registry_hostname
|
SECRET_REGISTRY_HOSTNAME = secret_registry_hostname
|
||||||
|
|
||||||
|
# Question for reviewers: For one client, the performance difference
|
||||||
|
# between a pool of size 1 vs a pool of size 10 isn't noticeable.
|
||||||
|
# The main performance increase comes from an open connection.
|
||||||
|
# We would need to do load testing to determine the ideal number,
|
||||||
|
# my recommendation now would be 3 as it is a good balance between
|
||||||
|
# overhead vs capacity.
|
||||||
# Use this variable to set the size of our connection pool in client.py
|
# Use this variable to set the size of our connection pool in client.py
|
||||||
# WARNING: Setting this value too high could cause frequent app crashes!
|
# WARNING: Setting this value too high could cause frequent app crashes!
|
||||||
EPP_CONNECTION_POOL_SIZE = 3
|
EPP_CONNECTION_POOL_SIZE = 1
|
||||||
|
|
||||||
# Determines the interval in which we ping open connections in seconds
|
# Determines the interval in which we ping open connections in seconds
|
||||||
# Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE
|
# Calculated as POOL_KEEP_ALIVE / EPP_CONNECTION_POOL_SIZE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue