Skip to content

Commit

Permalink
Bail after bike stops sending stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptx2 committed Feb 1, 2021
1 parent d13bda5 commit a959906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class App {
this.antStick.on('startup', this.onAntStickStartup.bind(this));

this.pingInterval = new Timer(opts.serverPingInterval);
this.statsTimeout = new Timer(opts.bikeStatsTimeout, {repeats: false});
this.statsTimeout = new Timer(opts.bikeReceiveTimeout, {repeats: false});
this.connectTimeout = new Timer(opts.bikeConnectTimeout, {repeats: false});
this.powerScale = opts.powerScale;
this.powerOffset = opts.powerOffset;
Expand Down

0 comments on commit a959906

Please sign in to comment.