Commit 42ed98da authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Add 'ASTAKOS_POOLSIZE' setting.

parent c469ad29
......@@ -30,6 +30,8 @@ Astakos
Cyclades
--------
* Add 'ASTAKOS_POOLSIZE' setting which tunes the size of the http connection
pool to astakos.
* Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL' settings
* Remove CYCLADES_USE_QUOTAHOLDER, CYCLADES_QUOTAHOLDER_TOKEN,
CYCLADES_QUOTAHOLDER_URL, CYCLADES_QUOTAHOLDER_POOLSIZE settings
......
......@@ -40,4 +40,3 @@ from synnefo.app_settings.default.userdata import *
from synnefo.app_settings.default.reconciliation import *
from synnefo.app_settings.default.tests import *
from synnefo.app_settings.default.cloudbar import *
from synnefo.app_settings.default.quotas import *
......@@ -98,12 +98,16 @@ DEFAULT_GANETI_DISK_TEMPLATE = 'drbd'
# The URL of an astakos instance that will be used for user authentication
ASTAKOS_URL = 'https://accounts.example.org/'
# Tune the size of the Astakos http client connection pool
# This limit the number of concurrent requests to Astakos.
ASTAKOS_POOLSIZE = 50
# Key for password encryption-decryption. After changing this setting, synnefo
# will be unable to decrypt all existing Backend passwords. You will need to
# store again the new password by using 'snf-manage backend-modify'.
# SECRET_ENCRYPTION_KEY may up to 32 bytes. Keys bigger than 32 bytes are not
# supported.
SECRET_ENCRYPTION_KEY= "Password Encryption Key"
SECRET_ENCRYPTION_KEY = "Password Encryption Key"
# Astakos service token
# The token used for astakos service api calls (e.g. api to retrieve user email
......
......@@ -78,7 +78,7 @@ _pithos_backend_pool = \
POOL_SIZE,
astakos_url=settings.ASTAKOS_URL,
service_token=settings.CYCLADES_ASTAKOS_SERVICE_TOKEN,
astakosclient_poolsize=settings.CYCLADES_QUOTAHOLDER_POOLSIZE,
astakosclient_poolsize=settings.ASTAKOS_POOLSIZE,
db_connection=settings.BACKEND_DB_CONNECTION,
block_path=settings.BACKEND_BLOCK_PATH)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment