mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Refactor naming of keys
This commit is contained in:
parent
3eeb00e524
commit
a70d531ae1
@ -405,7 +405,7 @@ class Helpers:
|
||||
"cookie_expire": 30,
|
||||
"show_errors": True,
|
||||
"history_max_age": 7,
|
||||
"stats_update_frequency": 30,
|
||||
"stats_update_frequency_seconds": 30,
|
||||
"delete_default_json": False,
|
||||
"show_contribute_link": True,
|
||||
"virtual_terminal_lines": 70,
|
||||
@ -417,6 +417,7 @@ class Helpers:
|
||||
"allow_nsfw_profile_pictures": False,
|
||||
"enable_user_self_delete": False,
|
||||
"reset_secrets_on_next_boot": False,
|
||||
"dir_size_poll_freq_minutes": 5,
|
||||
}
|
||||
|
||||
def get_all_settings(self):
|
||||
|
@ -635,7 +635,9 @@ class TasksManager:
|
||||
logger.error(f"Task failed with error: {event.exception}")
|
||||
|
||||
def start_stats_recording(self):
|
||||
stats_update_frequency = self.helper.get_setting("stats_update_frequency")
|
||||
stats_update_frequency = self.helper.get_setting(
|
||||
"stats_update_frequency_seconds"
|
||||
)
|
||||
logger.info(
|
||||
f"Stats collection frequency set to {stats_update_frequency} seconds"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user