Revision d0b67cbc snf-pithos-app/pithos/api/settings.py
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
138 | 138 |
settings, 'PITHOS_BACKEND_BLOCK_PATH', '/tmp/pithos-data/') |
139 | 139 |
BACKEND_BLOCK_UMASK = getattr(settings, 'PITHOS_BACKEND_BLOCK_UMASK', 0o022) |
140 | 140 |
|
141 |
# Archipelago Configuration File |
|
142 |
BACKEND_ARCHIPELAGO_CONF = getattr( |
|
143 |
settings, 'PITHOS_BACKEND_ARCHIPELAGO_CONF', |
|
144 |
'/etc/archipelago/archipelago.conf') |
|
145 |
|
|
146 | 141 |
# Queue for billing. |
147 | 142 |
BACKEND_QUEUE_MODULE = getattr(settings, 'PITHOS_BACKEND_QUEUE_MODULE', None) |
148 | 143 |
# Example: 'pithos.backends.lib.rabbitmq' |
... | ... | |
209 | 204 |
# Set domain to restrict requests of pithos object contents serve endpoint or |
210 | 205 |
# None for no domain restriction |
211 | 206 |
UNSAFE_DOMAIN = getattr(settings, 'PITHOS_UNSAFE_DOMAIN', None) |
207 |
|
|
208 |
# Archipelago Configuration File |
|
209 |
BACKEND_ARCHIPELAGO_CONF = getattr(settings, 'PITHOS_BACKEND_ARCHIPELAGO_CONF', |
|
210 |
'/etc/archipelago/archipelago.conf') |
|
211 |
|
|
212 |
# Archipelagp xseg pool size |
|
213 |
BACKEND_XSEG_POOL_SIZE = getattr(settings, 'PITHOS_BACKEND_XSEG_POOL_SIZE', 8) |
|
214 |
|
|
215 |
# The maximum interval (in seconds) for consequent backend object map checks |
|
216 |
BACKEND_MAP_CHECK_INTERVAL = getattr(settings, |
|
217 |
'PITHOS_BACKEND_MAP_CHECK_INTERVAL', |
|
218 |
300) |
Also available in: Unified diff