[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
parent 67a36b9828
commit 11fdfb4610
5 changed files with 160 additions and 16 deletions

View file

@ -1396,6 +1396,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();