Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazily open file streams to prevent blocking on reads #3

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

tylercamp
Copy link
Collaborator

When a pipeline spans multiple nodes, it's possible for the Code Dx plugin to hang while uploading 2 or more files. It seems the channel used by Jenkins master node for agent operations may block if we leave a remote file stream open. This change defers reads until necessary, rather than opening and collecting them all at once.

@tylercamp tylercamp self-assigned this Sep 25, 2020
@tylercamp tylercamp merged commit b2a790a into master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants