Skip to content

Commit

Permalink
[FIXES JENKINS-24272] jnlp slaves fail to reconnect when master is re…
Browse files Browse the repository at this point in the history
…started

During master restart only attempt to reconnect the slave after the master has
finished restarting.

(cherry picked from commit 48e19c5)
  • Loading branch information
oldelvet authored and olivergondza committed Jan 6, 2015
1 parent 5ded56a commit ea6baf9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ public List<SlaveRestarter> call() throws IOException {

e.addListener(new EngineListenerAdapter() {
@Override
public void onDisconnect() {
public void onReconnect() {
try {
for (SlaveRestarter r : restarters) {
try {
Expand Down

0 comments on commit ea6baf9

Please sign in to comment.