jenkinsci / jenkinsci/docker-plugin

Use --noReconnectAfter option in docker-plugin to automatically GC agents

Open
#1,139 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
498
Forks
324
Avg merge
1d 2h
Merged PRs (30d)
2

Description

Remoting has a new feature `--noReconnectAfter` after which the java process stops attempting to reconnect and exits.

This can be helpful in removing the GC periodic work [DockerContainerWatchdog](https://github.com/jenkinsci/docker-plugin/blob/master/src/main/java/com/nirima/jenkins/plugins/docker/DockerContainerWatchdog.java) - to be checked for any other implications.

See how to use `--noReconnectAfter` from https://github.com/jenkinsci/kubernetes-plugin/pull/1553

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.