Release 2.5.13

This commit is contained in:
2026-08-05 22:30:03 +01:00
parent 4c459e2745
commit 59730837ad
4 changed files with 58 additions and 2 deletions
+3 -1
View File
@@ -19,6 +19,7 @@ function createUploadSyncService(options) {
const notifyPlayerScreens = options && options.notifyPlayerScreens;
const backgroundTaskQueue = options && options.backgroundTaskQueue;
const MAX_UPLOAD_BYTES = 1024 * 1024 * 1024;
const MAX_FIELD_BYTES = 10 * 1024 * 1024;
const pendingPlayerUploadSyncs = new Map();
let pendingPlayerUploadSyncFlushTimer = null;
let pendingPlayerUploadSyncFlushInFlight = null;
@@ -84,7 +85,8 @@ function createUploadSyncService(options) {
return multer({
storage: storage,
limits: {
fileSize: MAX_UPLOAD_BYTES
fileSize: MAX_UPLOAD_BYTES,
fieldSize: MAX_FIELD_BYTES
}
});
}