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

MAIN: Add read/write timeout options for ClientAssociation #530

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

naterichman
Copy link
Contributor

Small MR to add read/write timeouts for the TCPStream on a ClientAssociation object.

I am using the client extensively and find that some pacs servers (presumably when under load) are taking 1000+s to respond to a c-move.

Additionally when I get around to it I will add over my c-move implementation.

As a side-note I've used it as a learning point for async rust and have made processes as async as possible (i.e just spawn_blocking as little as I can) and that has been interesting, but it would definitely be great to make the Client and Server async compatible themselves.

@Enet4 Enet4 added enhancement C-ul Crate: dicom-ul labels Jul 4, 2024
Copy link
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

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

Looks mostly OK, I believe this is as far as we can go before moving onto async. I suggested some minor changes below.

Please don't forget to rebase to solve the existing git conflicts.

Copy link
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

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

Thank you @naterichman!

@Enet4 Enet4 merged commit a43f3c8 into Enet4:master Jul 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-ul Crate: dicom-ul enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants