-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
[pantsd] Address pantsd-runner hang on Linux and re-enable integration test. #4407
Changes from all commits
3748d7a
65e5697
9936f36
61ea558
22f61a1
78e2845
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7357cc56f4a01aca2b89f98706d41d9202802129 | ||
a780f41d9addd75db310272b010ae3ad65b08045 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,8 @@ impl Entry { | |
let state = | ||
match self.node.clone() { | ||
EntryKey::Valid(n) => { | ||
let pool = context_factory.pool(); | ||
let pool_opt = context_factory.pool(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One line for this is probably fine. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not according to the compiler.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah. Yea, makes sense. Thanks. |
||
let pool = pool_opt.as_ref().expect("Uninitialized CpuPool!"); | ||
let context = context_factory.create(entry_id); | ||
pool | ||
.spawn_fn(move || { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, post_fork is called in two places... does this need to be as well?