Description
User Story (Required on creation):
Long-running bots that exceed the currently hard-coded lock duration time of the related external task get executed multiple times.
Functional Requirements (Required before implementation):
External tasks that have a related running bot instance do not start a new bot instance in the Bridge again.
Technical Requirements (Required before implementation):
Can be solved by either:
- Extending the locks of External Tasks in the Bridge proactively before they run out
- Syncing the incoming locked External Tasks with the map of known tasks and their bot instances and only starting a bot for tasks that have no related bot instance yet