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

Reuse sockets for synchronous calls #14

Closed
wants to merge 2 commits into from
Closed

Reuse sockets for synchronous calls #14

wants to merge 2 commits into from

Conversation

savq
Copy link
Member

@savq savq commented Sep 30, 2022

There's some funky stuff going on with exceptions when reusing sockets. The socket probably doesn't flush correctly, causing an error in the next read. The error is not an exception, but an incorrect value. (these can be very strange, like returning the first element of a tuple instead of the whole tuple). Solution: Don't reuse a socket if its corresponding task failed; drop it and create a new one.

@savq savq closed this Sep 30, 2022
@savq savq deleted the reuse-sockets branch September 30, 2022 19:39
@fonsp fonsp added this to the Pluto integration milestone Jan 24, 2023
@fonsp
Copy link
Member

fonsp commented Jan 24, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants