You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not really a big bug because the function does what it says, but it can cause problems difficult to detect by the users
Describe the bug
When "interval for missing events" is set to zero Magic Areas consumes all the CPU in the thread of the event loop.
It impacts severely in overall HA performance.
Maybe other small values will behave similar. To Reproduce
Select any area.
Configure interval for missing events to zero.
See the CPU performance and Magic Areas' debug logs.
Expected behavior
1- interpret 0 as "no checking of missing events". This is a common convention.
2- check for a reasonable range of values maybe related to "clearing interval".
Best regards.
The text was updated successfully, but these errors were encountered:
I wonder if there's a use case for this option to be configurable. I'm split between adding limits vs removing this configuration option completely. Thoughts?
It's not really a big bug because the function does what it says, but it can cause problems difficult to detect by the users
Describe the bug
When "interval for missing events" is set to zero Magic Areas consumes all the CPU in the thread of the event loop.
It impacts severely in overall HA performance.
Maybe other small values will behave similar.
To Reproduce
Select any area.
Configure interval for missing events to zero.
See the CPU performance and Magic Areas' debug logs.
Expected behavior
1- interpret 0 as "no checking of missing events". This is a common convention.
2- check for a reasonable range of values maybe related to "clearing interval".
Best regards.
The text was updated successfully, but these errors were encountered: