Skip to content

Commit f830ee4

Browse files
index storage path in env
1 parent 9cd3809 commit f830ee4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/cli.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,14 @@ pub struct Options {
225225
)]
226226
pub hot_tier_storage_path: Option<PathBuf>,
227227

228+
#[arg(
229+
long = "index-storage-path",
230+
env = "P_INDEX_DIR",
231+
value_parser = validation::canonicalize_path,
232+
help = "Local path on this indexer used for indexing"
233+
)]
234+
pub index_storage_path: Option<PathBuf>,
235+
228236
#[arg(
229237
long,
230238
env = "P_MAX_DISK_USAGE_PERCENT",

0 commit comments

Comments
 (0)