In some rare cases, our detection stops loops that it shouldn’t. This is more of an art than a science. We had to pick some magic timing numbers that just kinda felt right to us.
- Start monitoring: after 2 seconds
- Maximum time inside a loop without exiting loop: 2.2 seconds
- Stop monitoring after: 5 seconds
These manifest as variables that you can change if you need to.
For example, the middle variable up there is the one you’d most likely change.
window.CP.PenTimer.MAX_TIME_IN_LOOP_WO_EXIT = 6000;
You can actually explore the code for this right in our own console!
Other things to know: