Yeah, Bubble workflows have sort of a minimum execution time. The issue is your Set State step. Setting and publishing a state like this doesn’t happen instantaneously, and nowhere near the speed of setting a variable in JavaScript.

I think this is because “set state” works by literally setting a state on an object in the DOM, and so is capped by the DOM refresh rate.

Anyway, for proof of this just go get List Shifter and put a Debug Buddy before and after your set state step to benchmark the execution time. You’ll see.

I keep thinking I have a video explaining this, but I can’t find it ATM. But basically, your request to execute that workflow every tenth of a second cannot happen because each workflow is taking longer than 100ms. This have nothing to do with capacity and is an entirely in-page issue.

I can’t think of a workaround except to lower your polling rate (you can determine the max polling rate using Debug Buddy to benchmark the start of each iteration), or write a plugin.

2 Likes