Bump upload timeout to 1 min (#4359)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
parent
51109c74d3
commit
962b38d024
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue