From 312328af9569c8cf7e2fb9271de0c1e085d7f8e5 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 17 Apr 2023 14:11:47 +0000 Subject: [PATCH] refactor(services): remove special storage counting from jitsi --- selfprivacy_api/services/jitsi/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/selfprivacy_api/services/jitsi/__init__.py b/selfprivacy_api/services/jitsi/__init__.py index 60a94b3..a969eb2 100644 --- a/selfprivacy_api/services/jitsi/__init__.py +++ b/selfprivacy_api/services/jitsi/__init__.py @@ -5,7 +5,6 @@ import typing from selfprivacy_api.jobs import Job, Jobs from selfprivacy_api.services.generic_service_mover import FolderMoveNames, move_service -from selfprivacy_api.services.generic_size_counter import get_storage_usage from selfprivacy_api.services.generic_status_getter import ( get_service_status, get_service_status_from_several_units, @@ -109,12 +108,6 @@ class Jitsi(Service): def get_logs(): return "" - @staticmethod - def get_storage_usage() -> int: - storage_usage = 0 - storage_usage += get_storage_usage("/var/lib/jitsi-meet") - return storage_usage - @staticmethod def get_folders() -> typing.List[str]: return ["/var/lib/jitsi-meet"]