Add "reaper_freq" config setting in the "general" section

This simply allows control over the reaper thread frequency.

	Defaults to 5 as before.
This commit is contained in:
Marc Di Luzio
2018-04-24 14:34:13 +01:00
parent c2432d6182
commit 14d671214f
5 changed files with 52 additions and 6 deletions

View File

@@ -70,3 +70,8 @@ bool config_get_client_whitelisted(GameModeConfig *self, const char *client);
* Get if the client is in the blacklist
*/
bool config_get_client_blacklisted(GameModeConfig *self, const char *client);
/*
* Get the frequency (in seconds) for the reaper thread
*/
long config_get_reaper_thread_frequency(GameModeConfig *self);