Skip to content

Conversation

@gabriel-samfira
Copy link
Member

  • Ensure the pool loop exits properly when the pool is not yet in a running state.
  • Use ListInstances() when cleaning orphaned runners. This ensures We only run one API call per pool to list instances, instead of running a GetInstance() for each individual instance we are checking.

Signed-off-by: Gabriel Adrian Samfira gsamfira@cloudbasesolutions.com

  * Ensure the pool loop exits properly when the pool is not yet in
a running state.
  * Use ListInstances() when cleaning orphaned runners. This ensures
We only run one API call per pool to list instances, instead of running
a GetInstance() for each individual instance we are checking.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit e28f8e6 into cloudbase:main Jan 8, 2023
@gabriel-samfira gabriel-samfira deleted the properly-exit-loop branch January 20, 2023 23:51
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.

1 participant