mirror of
https://github.com/portainer/portainer.git
synced 2025-08-01 20:05:23 +02:00
Bump stats endpoint timeout to 5 seconds, retry on error.
This commit is contained in:
parent
316017c516
commit
a198382c06
2 changed files with 3 additions and 6 deletions
|
@ -18,7 +18,7 @@ angular.module('dockerui.services', ['ngResource'])
|
|||
create: {method: 'POST', params: {action: 'create'}},
|
||||
remove: {method: 'DELETE', params: {id: '@id', v: 0}},
|
||||
rename: {method: 'POST', params: {id: '@id', action: 'rename'}, isArray: false},
|
||||
stats: {method: 'GET', params: {id: '@id', stream: false, action: 'stats'}, timeout: 2000}
|
||||
stats: {method: 'GET', params: {id: '@id', stream: false, action: 'stats'}, timeout: 5000}
|
||||
});
|
||||
}])
|
||||
.factory('ContainerCommit', ['$resource', '$http', 'Settings', function ContainerCommitFactory($resource, $http, Settings) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue