aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/szurubooru/api/info_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/szurubooru/api/info_api.py b/server/szurubooru/api/info_api.py
index 8e74cb7..d815485 100644
--- a/server/szurubooru/api/info_api.py
+++ b/server/szurubooru/api/info_api.py
@@ -11,7 +11,7 @@ _cache_result = None
def _get_disk_usage():
global _cache_time, _cache_result # pylint: disable=global-statement
- threshold = datetime.timedelta(hours=1)
+ threshold = datetime.timedelta(hours=48)
now = datetime.datetime.utcnow()
if _cache_time and _cache_time > now - threshold:
return _cache_result

© 2015 - 2026 Jakob L. Kreuze