Skip to content

Conversation

Kludex
Copy link
Collaborator

@Kludex Kludex commented Jan 12, 2025

I think we can refactor a bit what is here, but this should solve #2559.

@nggit
Copy link

nggit commented Jan 12, 2025

I haven't tried it yet but those seem like the right changes, which are safe to do without much refactoring.

Only minor (subjective):

  • /tmp is global and it's better to use a unique prefix for files like uvicorn- or uvicorn/, otherwise create test.sock in the current directory - Edit: But that's okay, if MockSocket thing doesn't create a real file
  • if rather than elif.

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