Skip to content

v0.3.7

Choose a tag to compare

@Felliglanz Felliglanz released this 11 Feb 13:59
· 9 commits to main since this release

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 evalSkipped counter 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