diff --git a/app/client/rest/files.ts b/app/client/rest/files.ts index df057fdc4..b257e032c 100644 --- a/app/client/rest/files.ts +++ b/app/client/rest/files.ts @@ -72,6 +72,7 @@ const ClientFiles = (superclass: any) => class extends superclass { channel_id: channelId, }, }, + timeoutInterval: 3 * 60 * 1000, // 3 minutes }; const promise = this.apiClient.upload(url, file.localPath, options) as ProgressPromise; promise.progress!(onProgress).then(onComplete).catch(onError);