diff --git a/package.json b/package.json index 8b81ac67..cbdb9712 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@filen/sdk", - "version": "0.1.180", + "version": "0.1.181", "description": "Filen SDK", "main": "dist/node/index.js", "browser": "dist/browser/index.js", diff --git a/src/constants.ts b/src/constants.ts index 4de8537b..ae9e3222 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -13,16 +13,16 @@ export const CHUNK_SIZE = 1024 * 1024 export const BUFFER_SIZE = 4096 export const BASE64_BUFFER_SIZE = 3 * 1024 export const MAX_CONCURRENT_DOWNLOADS = 16 -export const MAX_DOWNLOAD_THREADS = 64 -export const MAX_DOWNLOAD_WRITERS = 128 -export const MAX_UPLOAD_THREADS = 32 +export const MAX_DOWNLOAD_THREADS = 32 +export const MAX_DOWNLOAD_WRITERS = 64 +export const MAX_UPLOAD_THREADS = 16 export const CURRENT_FILE_ENCRYPTION_VERSION = 2 export const DEFAULT_UPLOAD_REGION = "de-1" export const DEFAULT_UPLOAD_BUCKET = "filen-1" export const UPLOAD_CHUNK_SIZE = 1024 * 1024 export const MAX_NOTE_SIZE = 1024 * 1024 - 1 export const MAX_CONCURRENT_LISTING_OPS = 128 -export const MAX_CONCURRENT_UPLOADS = 16 -export const MAX_CONCURRENT_DIRECTORY_UPLOADS = 8 -export const MAX_CONCURRENT_DIRECTORY_DOWNLOADS = 8 +export const MAX_CONCURRENT_UPLOADS = 8 +export const MAX_CONCURRENT_DIRECTORY_UPLOADS = 2 +export const MAX_CONCURRENT_DIRECTORY_DOWNLOADS = 2 export const MAX_CHAT_SIZE = 1024 * 64