Revision 61c5b615

b/snf-pithos-app/README
44 44
PITHOS_BACKEND_QUOTA             50 GB (50 * 1024 ** 3)                                             Default user quota
45 45
PITHOS_BACKEND_VERSIONING        auto                                                               Default versioning policy for containers
46 46
PITHOS_BACKEND_FREE_VERSIONING   True                                                               Default versioning debit policy (default free)
47
PITHOS_BACKEND_POOL_SIZE         5                                                                  Default backend pool size
47 48
PITHOS_UPDATE_MD5                True                                                               Update object checksums when using hashmaps
48 49
PITHOS_SERVICE_TOKEN             ''                                                                 Service token acquired by the identity provider (astakos)
49 50
PITHOS_RADOS_STORAGE             False                                                              Enables or disables secondary Pithos storage on RADOS
b/snf-pithos-app/conf/20-snf-pithos-app-settings.conf
63 63
# Higher values mean more safety and longer URLs
64 64
#
65 65
#PITHOS_PUBLIC_URL_SECURITY = 16
66
#
67
#PITHOS_BACKEND_POOL_SIZE = 5
b/snf-pithos-app/pithos/api/settings.py
32 32
BACKEND_VERSIONING = getattr(settings, 'PITHOS_BACKEND_VERSIONING', 'auto')
33 33
BACKEND_FREE_VERSIONING = getattr(settings, 'PITHOS_BACKEND_FREE_VERSIONING', True)
34 34

  
35
# Default backend pool size
36
BACKEND_POOL_SIZE = getattr(settings, 'PITHOS_BACKEND_POOL_SIZE', 5)
37

  
35 38
# Update object checksums when using hashmaps.
36 39
UPDATE_MD5 = getattr(settings, 'PITHOS_UPDATE_MD5', True)
37 40

  
b/snf-pithos-app/pithos/api/util.py
63 63
                                 QUOTAHOLDER_URL, QUOTAHOLDER_TOKEN,
64 64
                                 QUOTAHOLDER_POOLSIZE,
65 65
                                 BACKEND_QUOTA, BACKEND_VERSIONING,
66
                                 BACKEND_FREE_VERSIONING,
66
                                 BACKEND_FREE_VERSIONING, BACKEND_POOL_SIZE,
67 67
                                 AUTHENTICATION_URL, AUTHENTICATION_USERS,
68 68
                                 COOKIE_NAME, USER_CATALOG_URL,
69 69
                                 RADOS_STORAGE, RADOS_POOL_BLOCKS,
......
958 958

  
959 959

  
960 960
from pithos.backends.util import PithosBackendPool
961
POOL_SIZE = 5
961

  
962 962
if RADOS_STORAGE:
963 963
    BLOCK_PARAMS = { 'mappool': RADOS_POOL_MAPS,
964 964
                     'blockpool': RADOS_POOL_BLOCKS,
......
970 970

  
971 971

  
972 972
_pithos_backend_pool = PithosBackendPool(
973
        size=POOL_SIZE,
973
        size=BACKEND_POOL_SIZE,
974 974
        db_module=BACKEND_DB_MODULE,
975 975
        db_connection=BACKEND_DB_CONNECTION,
976 976
        block_module=BACKEND_BLOCK_MODULE,

Also available in: Unified diff