# \[Timeline\] Flow disabled because it runs 60 times

**URL:** <https://community.homey.app/t/timeline-flow-disabled-because-it-runs-60-times/66238>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [July 19, 2022, 3:19pm UTC](https://community.homey.app/t/timeline-flow-disabled-because-it-runs-60-times/66238 "2022-07-19T15:19:19Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Jero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jero/32/17556_2.png) [@Jero](https://community.homey.app/u/Jero)\
**Post date:** [September 17, 2022, 8:26am UTC](https://community.homey.app/t/timeline-flow-disabled-because-it-runs-60-times/66238/25 "2022-09-17T08:26:14Z")

</div>

It means the code thats runs the Flow did not exit properly. The code looks something like this:

```auto
count++;

try {
  const result = await this.run(args);
  return result;
} catch (error) {
  throw error;
} finally {
 // This block always executes.
  count--;
}

```

This can be triggered easily if you have a Flow that triggers every second that starts a delay for 120 seconds for example. On the 61th time the previous executions are not done yet so to prevent this ‘leak’ going on forever we disable the Flow.

I have a feeling the system might be triggering your time cards alot of times on reboot so maybe you can try to log if that is happening?

It can also be a bug in this count code but I would expect alot more reports if that were true.

---

_[View the full topic](https://community.homey.app/t/timeline-flow-disabled-because-it-runs-60-times/66238)._
