ultrasonicsoft / ng-connection-service

Detects active internet connection in Angular application via DI ready Observable service.
84 stars 56 forks source link

'heartbeatInterval' does not do anything #135

Open sscholle opened 1 year ago

sscholle commented 1 year ago

no matter what value i set the 'heartbeatInterval' property to, it always uses the default 2000ms heartbeat

    const options: ConnectionServiceOptions = {
      enableHeartbeat: true,
      heartbeatUrl: window.location.origin,
      heartbeatInterval: 20000, // should be twenty seconds
      heartbeatRetryInterval: 1000 // 1 second
    };
    this.connectionService.monitor(options)
    ...
ultrasonicsoft commented 1 year ago

Will look into it.

william-cuervo-ing commented 3 days ago

It still hapens, some fix about it?