Gets the server settings.
This method fetches the server settings from the database using the ServerSettingsModel.
A promise that resolves to the server settings.
Updates the server settings.
This method updates the server settings in the database using the ServerSettingsModel.
The speed of hash.
The leeway speed.
The timeout time.
The attendance threshold.
A promise that resolves when the server settings have been updated.
AdminController interface represents the structure of the admin controller.
This interface provides the following methods:
Method
getServerSettings - Fetches the server settings from the database.
Method
updateServerSettings - Updates the server settings in the database.