forked from Hirni-Meshram2/pants
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Session to its own file. (pantsbuild#11222)
### Problem `Scheduler` and `Session` play distinct roles, and have each grown large. The `Scheduler` is global, and typically created once per process, whereas the `Session` is created once per run, and so there will (soon) be more than one of them in existence concurrently. But they are both still living in the same file, making it slightly harder to understand and isolate their roles. ### Solution Move `Session` to its own module: `session.rs`. [ci skip-build-wheels]
- Loading branch information
Showing
4 changed files
with
290 additions
and
265 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
Oops, something went wrong.