Repository navigation
v0.3.7
Fix: Minimum Poll Interval Set to 5 Seconds
Problem
Users could configure the poll interval as low as 1 second. With 5+ items, the time budget (80% of interval = 800ms) could be exceeded, causing later items in the evaluation queue to be skipped. These skipped items would remain at null and never receive calculated values.
Root Cause
- Poll interval: 1 second → Time budget: 800ms
- With ~150-200ms per item evaluation, 5 items already exceeded the budget
- Skipped items triggered the
evalSkippedcounter but never wrote output values
Solution
Changed minimum pollIntervalSeconds from 1 to 5 seconds in admin/jsonConfig.json.
Impact
- Prevents time budget exhaustion for typical configurations
- 5 second interval provides 4 second budget (sufficient for 20+ items at ~100ms each)
- Users can no longer accidentally misconfigure the adapter into a non-functional state