-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made sure that Proxy._proxy_connection_is_registered(...) was called …
…*inside* Proxy.replace_connection_and_queue(...) since the former was a precondition of the latter.
- Loading branch information
Showing
3 changed files
with
26 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
**Note** This file will be deleted! Reviewers, please ignore! These are just notes fro me as I work on this renaming project. | ||
|
||
--- | ||
|
||
# PR 3: Fixups | ||
|
||
- first big fixup | ||
- look this up and understand it better `on_browser_waiting_for_proxy_conn` | ||
- `on_browser_waiting_for_proxy_conn(` -> `replace_connection_and_queue(` | ||
|
||
- `Called when a client detects it has no corresponding ProxyConnection.` -> `Gets the most recent proxy connection and queue for this report_name. (BrowserWebSocket continuously calls this to in case a new client connection was established in which case the BrowserWebSocket should switch to the new proxy connection and queue.)` | ||
|
||
- little cleanup: | ||
- move `proxy_connection_is_registered` into `on_browser_waiting_for_proxy_conn` | ||
- give it a better name in `BrowserWebSocket.do_loop` | ||
- update doc string: `Gets the most recent proxy connection and queue for this report_name.` | ||
- commit | ||
- `STREAMLIT_ROOT_DIRECTORY` : make that a direct `util` thing `caching.py` |