Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends / settings.py @ daf4fb05

History | View | Annotate | Download (399 Bytes)

1 daf4fb05 Kostas Papadimitriou
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
2 daf4fb05 Kostas Papadimitriou
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy'
3 daf4fb05 Kostas Papadimitriou
BACKEND_DB_CONNECTION = 'sqlite:///' + join(PROJECT_PATH, 'backend.db')
4 daf4fb05 Kostas Papadimitriou
5 daf4fb05 Kostas Papadimitriou
# Block storage.
6 daf4fb05 Kostas Papadimitriou
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler'
7 daf4fb05 Kostas Papadimitriou
BACKEND_BLOCK_PATH = join(PROJECT_PATH, 'data/')
8 daf4fb05 Kostas Papadimitriou
9 daf4fb05 Kostas Papadimitriou
# Default setting for new accounts.
10 daf4fb05 Kostas Papadimitriou
BACKEND_QUOTA = 50 * 1024 * 1024 * 1024
11 daf4fb05 Kostas Papadimitriou
BACKEND_VERSIONING = 'auto'