mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Increase encrypted app list size limit
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user