forked from Ivasoft/mattermost-mobile
Bump upload timeout to 1 min (#4359)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
@@ -151,7 +151,7 @@ export default class UploadItem extends PureComponent {
|
||||
|
||||
const certificate = await mattermostBucket.getPreference('cert');
|
||||
const options = {
|
||||
timeout: 10000,
|
||||
timeout: 60000,
|
||||
certificate,
|
||||
};
|
||||
this.uploadPromise = RNFetchBlob.config(options).fetch('POST', Client4.getFilesRoute(), headers, data);
|
||||
|
||||
Reference in New Issue
Block a user