commit | dedfbdaa3bcc5cd1844e9e8519ba8bfe614c416c | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu May 17 16:23:39 2018 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Thu May 17 16:23:39 2018 -0700 |
tree | 838dc9d38e2a9c84d7c4bd1383ae5f97ab128862 | |
parent | 8bd01adf09b1a3328d8a566669393a8c5584e072 [diff] [blame] |
Extending modeldefs API timeout to support M-CORD Change-Id: I6f839b54185bdf201597cb69cd06ce9c41a1bc6f
diff --git a/src/app/datasources/rest/modeldefs.rest.ts b/src/app/datasources/rest/modeldefs.rest.ts index 38ffb16..f4d935c 100644 --- a/src/app/datasources/rest/modeldefs.rest.ts +++ b/src/app/datasources/rest/modeldefs.rest.ts
@@ -52,7 +52,7 @@ public get(): IPromise<IXosModeldef[]> { const d = this.$q.defer(); - this.$http.get(`${this.AppConfig.apiEndpoint}/modeldefs`, {timeout: 5 * 1000}) + this.$http.get(`${this.AppConfig.apiEndpoint}/modeldefs`, {timeout: 10 * 1000}) .then((res: any) => { d.resolve(res.data.items); })