Skip to content

Commit a020414

Browse files
committed
revert chunk upload threshold to 1MB
this is done because for the normal upload there is no upload progress for now. Once there is an upload progress shown also for the normal uploads, it's fine to increase the threshold again Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
1 parent ef4ed27 commit a020414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/nextcloud/talk/jobs/UploadAndShareFilesWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ class UploadAndShareFilesWorker(val context: Context, workerParameters: WorkerPa
413413
private const val ROOM_TOKEN = "ROOM_TOKEN"
414414
private const val CONVERSATION_NAME = "CONVERSATION_NAME"
415415
private const val META_DATA = "META_DATA"
416-
private const val CHUNK_UPLOAD_THRESHOLD_SIZE: Long = 20 * 1024 * 1024
416+
private const val CHUNK_UPLOAD_THRESHOLD_SIZE: Long = 1024 * 1024
417417
private const val NOTIFICATION_FILE_NAME_MAX_LENGTH = 20
418418
private const val THREE_DOTS = ""
419419
private const val HUNDRED_PERCENT = 100

0 commit comments

Comments
 (0)