mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 01:39:31 +02:00
Increase encrypted app list size limit
This commit is contained in:
parent
30a47a336c
commit
2ffde79530
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ import { AppLogicAction } from './basetypes'
|
||||||
import { InvalidActionParameterException } from './meta/exception'
|
import { InvalidActionParameterException } from './meta/exception'
|
||||||
|
|
||||||
const actionType = 'UpdateInstalledAppsAction'
|
const actionType = 'UpdateInstalledAppsAction'
|
||||||
const SIZE_LIMIT = 1024 * 256
|
const SIZE_LIMIT = 1024 * 512
|
||||||
|
|
||||||
export class UpdateInstalledAppsAction extends AppLogicAction {
|
export class UpdateInstalledAppsAction extends AppLogicAction {
|
||||||
readonly base?: Buffer
|
readonly base?: Buffer
|
||||||
|
|
|
@ -51,7 +51,7 @@ export const generateServerDataStatus = async ({
|
||||||
familyEntry.hasFullVersion ? parseInt(familyEntry.fullVersionUntil, 10) : 0
|
familyEntry.hasFullVersion ? parseInt(familyEntry.fullVersionUntil, 10) : 0
|
||||||
),
|
),
|
||||||
message: await getStatusMessage({ database, transaction }) || undefined,
|
message: await getStatusMessage({ database, transaction }) || undefined,
|
||||||
apiLevel: 4
|
apiLevel: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
if (familyEntry.deviceListVersion !== clientStatus.devices) {
|
if (familyEntry.deviceListVersion !== clientStatus.devices) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue