Execution limit - scheduling tasks instead

Interesting because I thought ST is against pausing apps as it’s supposed to be an event driven architecture and I suspect pause() is a blocking call which then adds to your execution limit.

The right way to handle it would be use runIn and daisy chain it with a state.counter to track how many times it’s run. It’s more overhead but you won’t run into the issues you’re facing with limits.

2 Likes