Skip to content

Core: Kraken: Improve main loop tasks and add exp delay to avoid flooding - #2922

Merged
patrickelectric merged 2 commits into
bluerobotics:masterfrom
joaomariolago:improve-main-kraken-loop
Sep 26, 2024
Merged

patrickelectric merged 2 commits into
bluerobotics:masterfrom
joaomariolago:improve-main-kraken-loop

Conversation

@joaomariolago

Copy link
Copy Markdown
Collaborator

Since some extensions may be failing to start repeatedly, add a exp delay and start attempts tracking to avoid kraken main loop being flooded with start attempts and degrade overall performance

@joaomariolago
joaomariolago force-pushed the improve-main-kraken-loop branch from e063693 to 8c87824 Compare September 26, 2024 12:19
@joaomariolago
joaomariolago marked this pull request as ready for review September 26, 2024 15:12
@joaomariolago
joaomariolago force-pushed the improve-main-kraken-loop branch 2 times, most recently from 3c6af82 to 45d6009 Compare September 26, 2024 15:14
Comment thread core/services/kraken/extension/extension.py Outdated
Comment thread core/services/kraken/kraken.py Outdated
* Add tracking of times of attempt to start a given extension and last
  time it was started for better main loop control
* Change formated string with ext unique entry used in multiple places
  to a ext property
* Separate start extension task from garbage collection ones
* Add exp delay in starting attempts to avoid dead extensions from
  flooding kraken loop trying to restart itself
@joaomariolago
joaomariolago force-pushed the improve-main-kraken-loop branch from cd07970 to fb578a5 Compare September 26, 2024 16:51
@patrickelectric
patrickelectric merged commit 1da80b4 into bluerobotics:master Sep 26, 2024
@patrickelectric patrickelectric mentioned this pull request Aug 28, 2026
15 of 19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants