increase timeout for url and file upload

This commit is contained in:
Sebastian Sdorra
2014-12-01 15:19:39 +01:00
parent 895af89c12
commit f8d3b8cbfd

View File

@@ -497,6 +497,7 @@ Sonia.repository.ImportPanel = Ext.extend(Ext.Panel, {
var lbox = this.showLoadingBox();
form.submit({
url: restUrl + 'import/repositories/' + this.repositoryType + '/bundle.html?compressed=' + compressed,
timeout: 300000, // 5min
scope: this,
success: function(form){
lbox.hide();
@@ -515,6 +516,7 @@ Sonia.repository.ImportPanel = Ext.extend(Ext.Panel, {
url: restUrl + 'import/repositories/' + this.repositoryType + '/url.json',
method: 'POST',
scope: this,
timeout: 300000, // 5min
jsonData: repository,
success: function(){
lbox.hide();