-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
Problem Definition
Any page that needs to calculate which agents can build something and includes offline agents, for example:
- Tasks
- Requirements
- Agent assignment (Deployments)
Can become non-performant as the amount of offline agents grows. This is a common pattern in instances where customers are spinning up and spinning down agents on demand without deleting them from Bamboo.
Suggested Solution
When filtering offline agents, it might be sensible to filter out agents that have been offline for a certain time period. E.g. 6+ months.
Workaround
Clean up offline agents that are no longer used at Bamboo Administration >> Agents > Offline Agents
Bamboo 6.10.x and later has a REST API that can be used to automate the deletion:
https://docs.atlassian.com/atlassian-bamboo/REST/6.10.4/#d2e857.