Revision e3f006b0
b/snf-cyclades-app/conf/20-snf-cyclades-app-plankton.conf | ||
---|---|---|
6 | 6 |
## Backend settings |
7 | 7 |
#BACKEND_DB_CONNECTION = 'sqlite:////usr/share/synnefo/pithos/backend.db' |
8 | 8 |
#BACKEND_BLOCK_PATH = '/usr/share/synnefo/pithos/data/' |
9 |
#PITHOS_BACKEND_POOL_SIZE = 8 |
|
9 | 10 |
# |
10 | 11 |
## The Pithos container where images will be stored by default |
11 | 12 |
#DEFAULT_PLANKTON_CONTAINER = 'images' |
b/snf-cyclades-app/synnefo/app_settings/default/plankton.py | ||
---|---|---|
6 | 6 |
# Backend settings |
7 | 7 |
BACKEND_DB_CONNECTION = 'sqlite:////usr/share/synnefo/pithos/backend.db' |
8 | 8 |
BACKEND_BLOCK_PATH = '/usr/share/synnefo/pithos/data/' |
9 |
PITHOS_BACKEND_POOL_SIZE = 8 |
|
9 | 10 |
|
10 | 11 |
# The Pithos container where images will be stored by default |
11 | 12 |
DEFAULT_PLANKTON_CONTAINER = 'images' |
b/snf-cyclades-app/synnefo/plankton/backend.py | ||
---|---|---|
72 | 72 |
'status') |
73 | 73 |
|
74 | 74 |
from pithos.backends.util import PithosBackendPool |
75 |
POOL_SIZE = 8 |
|
76 | 75 |
_pithos_backend_pool = \ |
77 | 76 |
PithosBackendPool( |
78 |
POOL_SIZE, |
|
77 |
settings.PITHOS_BACKEND_POOL_SIZE,
|
|
79 | 78 |
astakos_url=settings.ASTAKOS_BASE_URL, |
80 | 79 |
service_token=settings.CYCLADES_SERVICE_TOKEN, |
81 | 80 |
astakosclient_poolsize=settings.CYCLADES_ASTAKOSCLIENT_POOLSIZE, |
Also available in: Unified diff