Comment
Not applicable

I faced this challenge before I've found your article. I used different angle in my case: I've created a custom action that was used whenever the flow would wait. The action was simply checking which instance the flow is running using:

gs.getProperty('instance_name');

and if it was DEV or TEST instance the wait time was decreased to e.g. 1 minute.