-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring back dagit socket reuse (#11688)
Summary: With one additional line in is_port_in_use that makes our socket check more closely mimic the socket check that uvicorn does: sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) Test Plan: Launch dagit, open browser Close dagit process Re-open dagit process Repeat Now reliably stays on 3000 ### Summary & Motivation ### How I Tested These Changes
- Loading branch information
Showing
3 changed files
with
79 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters