Skip to content
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

set governor to "performance" if available #2438

Merged
merged 4 commits into from
Oct 4, 2023
Merged

Conversation

dr-bonez
Copy link
Member

@dr-bonez dr-bonez commented Oct 4, 2023

No description provided.

@dr-bonez dr-bonez requested a review from Blu-J October 4, 2023 18:03
@@ -341,6 +344,23 @@ pub async fn init(cfg: &RpcContextConfig) -> Result<InitResult, Error> {
.await?;
tracing::info!("Enabled Docker QEMU Emulation");

if current_governor()
.await?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't a is_performance method be better for what is returned on current_govenrnor()

Blu-J
Blu-J previously approved these changes Oct 4, 2023
@dr-bonez dr-bonez merged commit 6f58819 into master Oct 4, 2023
4 of 5 checks passed
@dr-bonez dr-bonez deleted the feature/governor branch November 9, 2023 19:43
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