From e7fbdac8e0bbc7b8d4ffd3221b7d21b482b6ce05 Mon Sep 17 00:00:00 2001 From: gyutw <30371241+gyutw@users.noreply.github.com> Date: Mon, 28 Sep 2020 11:08:52 +0300 Subject: [PATCH] fichier: increase maximum file size from 100GB to 300GB - fixes #4634 --- backend/fichier/fichier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/fichier/fichier.go b/backend/fichier/fichier.go index b8689a8d5..b5cc3b1ae 100644 --- a/backend/fichier/fichier.go +++ b/backend/fichier/fichier.go @@ -323,7 +323,7 @@ func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options . // This will create a duplicate if we upload a new file without // checking to see if there is one already - use Put() for that. func (f *Fs) putUnchecked(ctx context.Context, in io.Reader, remote string, size int64, options ...fs.OpenOption) (fs.Object, error) { - if size > int64(100e9) { + if size > int64(300e9) { return nil, errors.New("File too big, cant upload") } else if size == 0 { return nil, fs.ErrorCantUploadEmptyFiles