Browse Source

Threshold detection runs on creation #177

master
rozetko 6 years ago
parent
commit
9f923eb150
  1. 1
      src/panel/graph_panel/controllers/analytic_controller.ts

1
src/panel/graph_panel/controllers/analytic_controller.ts

@ -77,6 +77,7 @@ export class AnalyticController {
async sendThresholdParamsToServer(id: AnalyticUnitId) { async sendThresholdParamsToServer(id: AnalyticUnitId) {
await this.saveThreshold(id); await this.saveThreshold(id);
await this._analyticService.runDetect(id);
await this._runStatusWaiter(this._analyticUnitsSet.byId(id)); await this._runStatusWaiter(this._analyticUnitsSet.byId(id));
} }

Loading…
Cancel
Save