Skip to content

Conversation

@jglick
Copy link
Member

@jglick jglick commented Sep 16, 2025

Listener introduced in c69c1aa (#323) was too expensive when a lot of builds are running at once.

@jglick jglick added the bug label Sep 16, 2025
@jglick jglick requested a review from a team as a code owner September 16, 2025 20:28
@jglick jglick added the bug label Sep 16, 2025
try {
for (var execution : executionsFuture.get()) {
if (execution instanceof Execution exec && exec.watching && exec.node.equals(name)) {
LOGGER.fine(() -> "Online/offline event on " + name + ", checking current status of " + exec.remote + " soon");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ignore WS)

@jglick jglick merged commit 2d3f5c6 into jenkinsci:master Sep 17, 2025
17 checks passed
@jglick jglick deleted the AgentReconnectionListener branch September 17, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants