Too many events triggered at the same time

I’m receiving an error about too many events and it is crashing my app:

Screenshot 2024-08-03 at 12.34.08 AM

My question is about workflows that run when a condition is true. Does the presence of these contribute to the too many events error?

My app is mostly a one-page app but it is quite large and complex. There are many workflows that trigger when a condition is true.

  1. Do these workflows poll on a regular basis for that condition?
  2. Do these workflows act as listeners that trigger when notified?

In other words, if I take the extreme step to refactor my app into a multi-page app so that I have much fewer workflows waiting for a condition to be true, will this help me to avoid this error?

Thanks!

SOLVED: I found a loop caused by a condition on an element and a condition in a workflow that were flipping a value back and forth. It was difficult to catch but I resolved the issue.

However, I am still curious about the answer to #1 and #2 so that I can understand it better going forward. Thanks!

I would assume that Bubble sets up a lot of listeners for conditions to function. They use websockets for realtime data updates.

1 Like

Thanks. That would be my assumption too, but I still wonder if that contributes to the Too many events error…