Skip to content
Permalink
Browse files

fix(http): add timeout to GrafanaHTTP

  • Loading branch information...
RangerRick committed Mar 29, 2018
1 parent e803726 commit 22bdd70e1780af02a5f969636c0f4bbcb123d21f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/rest/GrafanaHTTP.ts
@@ -31,8 +31,8 @@ export class GrafanaHTTP extends AbstractHTTP {
* @param backendSrv - The Grafana BackendSrv object to use for requests.
* @param server - The OpenNMS server to make requests to.
*/
constructor(backendSrv: any, server?: OnmsServer) {
super(server, undefined);
constructor(backendSrv: any, server?: OnmsServer, timeout?: number) {
super(server, timeout);
this.backendSrv = backendSrv;
}

0 comments on commit 22bdd70

Please sign in to comment.
You can’t perform that action at this time.