diff options
author | drebs <drebs@riseup.net> | 2017-10-11 11:20:22 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-12 14:34:11 -0300 |
commit | e0e427728848ce8bb33b4a4d6f8937ec5788d2c6 (patch) | |
tree | 7f7ddaf67cb4dbe976fdceed9fcac81eb1767251 /src/leap/soledad/server/auth.py | |
parent | 1cde86239f68ca8fa896ecf4ffc6b891eeb837e3 (diff) |
[feature] make concurrent blob writes configurable
Diffstat (limited to 'src/leap/soledad/server/auth.py')
-rw-r--r-- | src/leap/soledad/server/auth.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/soledad/server/auth.py b/src/leap/soledad/server/auth.py index da13dc8c..39eb09f6 100644 --- a/src/leap/soledad/server/auth.py +++ b/src/leap/soledad/server/auth.py @@ -56,8 +56,11 @@ class SoledadRealm(object): if conf is None: conf = get_config() blobs = conf['blobs'] - blobs_resource = BlobsResource("filesystem", - conf['blobs_path']) if blobs else None + concurrent_writes = conf['concurrent_blob_writes'] + blobs_resource = BlobsResource( + "filesystem", + conf['blobs_path'], + concurrent_writes=concurrent_writes) if blobs else None self.anon_resource = AnonymousResource( enable_blobs=blobs) self.auth_resource = PublicResource( |