Revision f81e20b0
b/pithos/backends/modular.py | ||
---|---|---|
78 | 78 |
""" |
79 | 79 |
|
80 | 80 |
def __init__(self, db_module, db_connection, block_module, block_path): |
81 |
db_module = db_module or 'pithos.backends.lib.sqlalchemy' |
|
82 |
block_module = block_module or 'pithos.backends.lib.hashfiler' |
|
83 |
|
|
81 | 84 |
self.hash_algorithm = 'sha256' |
82 | 85 |
self.block_size = 4 * 1024 * 1024 # 4MB |
83 | 86 |
|
Also available in: Unified diff