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

Fix socket connection bug #1466

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Fix socket connection bug #1466

merged 3 commits into from
Sep 6, 2024

Conversation

mplorentz
Copy link
Member

@mplorentz mplorentz commented Sep 5, 2024

Issues covered

#1461
#1393

Description

This was a simple fix but an insidious bug. The code I wrote to open sockets was returning early if it found a socket that was already connected or errored.

How to test

  1. Launch Nos
  2. Background Nos
  3. Leave it for 5 minutes
  4. Reopen Nos
  5. Try to search for "Linda"
    Results should appear.

@mplorentz mplorentz marked this pull request as ready for review September 5, 2024 21:47
Copy link
Contributor

@joshuatbrown joshuatbrown left a comment

Choose a reason for hiding this comment

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

Yes! It works! And I love the tests!

@joshuatbrown joshuatbrown added this pull request to the merge queue Sep 6, 2024
@joshuatbrown
Copy link
Contributor

@mplorentz I think #1393 may also be caused by this. If you agree, would you add that to the "Issues covered" section of the PR description for tracking purposes?

Merged via the queue into main with commit 720c5a7 Sep 6, 2024
7 checks passed
@joshuatbrown joshuatbrown deleted the fix-socket-connection-bug branch September 6, 2024 16:38
@joshuatbrown
Copy link
Contributor

@mplorentz scratch that -- let's go the other way. I'm 99% sure #1393 is fixed by this PR so I added it to the description. If I'm wrong, you can remove it.

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

Successfully merging this pull request may close these issues.

2 participants