Skip to content

Commit 2e4ef20

Browse files
committed
graphman: disable load management when using graphman
1 parent 5512b61 commit 2e4ef20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

node/src/bin/manager.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ use itertools::Itertools;
3636
use lazy_static::lazy_static;
3737
use std::str::FromStr;
3838
use std::{collections::HashMap, num::ParseIntError, sync::Arc, time::Duration};
39+
use std::env;
3940
const VERSION_LABEL_KEY: &str = "version";
4041

4142
git_testament!(TESTAMENT);
@@ -1030,6 +1031,9 @@ impl Context {
10301031

10311032
#[tokio::main]
10321033
async fn main() -> anyhow::Result<()> {
1034+
// Disable load management for graphman commands
1035+
env::set_var("GRAPH_LOAD_THRESHOLD", "0");
1036+
10331037
let opt = Opt::parse();
10341038

10351039
Terminal::set_color_preference(&opt.color);

0 commit comments

Comments
 (0)