increase plugin installation timeout

This commit is contained in:
Sebastian Sdorra
2011-03-28 10:01:20 +02:00
parent 765cede175
commit 87efaf3eec

View File

@@ -87,6 +87,7 @@ Sonia.plugin.Center = Ext.extend(Ext.util.Observable, {
url: restUrl + 'plugins/install/' + pluginId + '.json',
method: 'POST',
scope: this,
timeout: 300000, // 5min
success: function(){
if ( debug ){
console.debug('plugin successfully installed');
@@ -157,6 +158,7 @@ Sonia.plugin.Center = Ext.extend(Ext.util.Observable, {
url: restUrl + 'plugins/update/' + pluginId + '.json',
method: 'POST',
scope: this,
timeout: 300000, // 5min
success: function(){
if ( debug ){
console.debug('plugin successfully updated');