summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/leap/soledad/server/_blobs.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/leap/soledad/server/_blobs.py b/server/src/leap/soledad/server/_blobs.py
index f50e3da8..4b0cd0de 100644
--- a/server/src/leap/soledad/server/_blobs.py
+++ b/server/src/leap/soledad/server/_blobs.py
@@ -99,9 +99,8 @@ class IBlobsBackend(Interface):
@implementer(IBlobsBackend)
class FilesystemBlobsBackend(object):
- quota = 200 * 1024 # in KB
-
- def __init__(self, blobs_path):
+ def __init__(self, blobs_path='/tmp/blobs/', quota=200 * 1024):
+ self.quota = quota
if not os.path.isdir(blobs_path):
os.makedirs(blobs_path)
self.path = blobs_path