Browse Source

Threshold detection runs on creation hastic/hastic-grafana-app#177

pull/1/head
rozetko 6 years ago
parent
commit
77e335e469
  1. 2
      server/src/controllers/analytics_controller.ts

2
server/src/controllers/analytics_controller.ts

@ -400,8 +400,6 @@ export async function updateThreshold(
condition: Threshold.Condition condition: Threshold.Condition
) { ) {
await Threshold.updateThreshold(id, value, condition); await Threshold.updateThreshold(id, value, condition);
runFirstLearning(id);
} }
export async function runFirstLearning(id: AnalyticUnit.AnalyticUnitId) { export async function runFirstLearning(id: AnalyticUnit.AnalyticUnitId) {

Loading…
Cancel
Save