by Patrick Corgan
Version 2 (October 13, 2023)
Download (130 downloads)
Stop runaway flows before they get out of control!
This flow does not use the "Running" notification; instead it continously monitors how many fibers each running flow has started. When a flow's running fibers reaches a predetermined number (default 23; can be set in 'FIBER_LIMIT' variable in block 41), the watchdog shuts that flow down. The event is logged both in the watchdog flow, and the flow that is stopped.
This flow also includes a whitelist. If you have any flows that are supposed to generate a bunch of fibers, add them to the whitelist and they won't be stopped.
πΈπππ¦πͺππ§ππ¨ π₯π§ππ’ππͺπ’πΈ
Thank you for colorful flow logs:
-Ricardo FernΓ‘ndez Serrata and the flow "Error text template" (https://llamalab.com/automate/community/flows/41617), and to EXP's comment on that flow.
-MyNameisBob (Pluto) and the flow "Custom Error message!" (https://llamalab.com/automate/community/flows/45217) for the log messages using zero-length characters.
------------------------------
ππΊ ππ’π΅π³πͺπ€π¬ ππ°π³π¨π’π―
π οΈππ πππππ₯π€ πππ ππ£ππ₯ππππ€ππ€ π¨ππππ ππβοΈ
------------------------------
Version 2: Minor cosmetic changes. Shiny flow logs!
Gosha Veselov: I don't know what you mean (my knowledge of the inner workings of Android is limited), but this flow is not meant to stop malicious behavior. I suppose it will if the bad actor is a rank amateur, but it's meant to stop unintentional fiber-generating loops.
Jorge Wetter: Of course the flow could be much shorter. If there are features you don't want (and there is a lot of non-core functionality), it would not be difficult to remove them. As far as using too many blocks to achieve a specific purpose, let me know how I can improve it. Thank you.
5 stars | 4 | |
4 stars | 0 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 2 |
Rate and review within the app in the Community section.