bumped disk allocation to 1gb

master
Kevin Froman 2020-03-20 03:47:08 -05:00
parent b2f4dae226
commit 022fbaa1af
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ class StorageCounter:
def is_full(self)->bool: def is_full(self)->bool:
"""Returns if the allocated disk space is full (this is Onionr config, not true FS capacity)""" """Returns if the allocated disk space is full (this is Onionr config, not true FS capacity)"""
ret_data = False ret_data = False
if config.get('allocations.disk', 2000000000) <= (self.get_amount() + 1000): if config.get('allocations.disk', 1073741824) <= (self.get_amount() + 1000):
ret_data = True ret_data = True
return ret_data return ret_data

View File

@ -3,7 +3,7 @@
"security_auditing": true "security_auditing": true
}, },
"allocations": { "allocations": {
"disk": 100000000, "disk": 1073741824,
"net_total": 1000000000 "net_total": 1000000000
}, },
"general": { "general": {