From 596c6c5f046f80735ad79a60207410a8106299f8 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Aug 2019 17:47:20 +0530 Subject: [PATCH] Socket.io updated --- src/app/shared/services/chart.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/services/chart.service.ts b/src/app/shared/services/chart.service.ts index dc6628d..2b564ac 100644 --- a/src/app/shared/services/chart.service.ts +++ b/src/app/shared/services/chart.service.ts @@ -62,7 +62,7 @@ export class ChartService { public getLatestblockdetails() { if(this.socket==null){ - this.socket = io.connect(this.server, {requestTimeout:100000000,query: 'network='+this.socketnetwork}); + this.socket = io.connect(this.server, {transport: 'websocket', requestTimeout:100000000,query: 'network='+this.socketnetwork}); this.socket.heartbeatTimeout = 200000 } return Observable.create(observer => {