[Server] Persist and serve deck sync fields + version rows

This commit is contained in:
Lukas Brübach 2026-10-11 14:16:30 +02:00 • committed by Lukas Brübach
parent 46841ccb56
commit d8581d5abf
5 changed files with 160 additions and 16 deletions

View file

@ -1397,6 +1397,11 @@ int Servatrice::getDeckShareMaxSharesPerDay() const
return settingsCache->value("deck_share/max_shares_per_day", 50).toInt();
}
int Servatrice::getDeckSyncMaxVersions() const
{
return qMax(1, settingsCache->value("deck_sync/max_versions", 20).toInt());
}
int Servatrice::getNumberOfTCPPools() const
{
return settingsCache->value("server/number_pools", 1).toInt();