Skip to content

Commit

Permalink
node: Use flag to trigger full count in graphman stats show
Browse files Browse the repository at this point in the history
Making this a flag makes it less likely that a typo kicks off a full count
which is very slow
  • Loading branch information
lutter committed Sep 13, 2022
1 parent b279a75 commit 8753255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/src/bin/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ pub enum StatsCommand {
Show {
/// The deployment (see `help info`).
deployment: DeploymentSearch,
/// The name of a table to fully count
/// The name of a table to fully count which can be very slow
#[structopt(long, short)]
table: Option<String>,
},
/// Perform a SQL ANALYZE in a Entity table
Expand Down

0 comments on commit 8753255

Please sign in to comment.