We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NormalizeIndex
1 parent 22f58d5 commit 542d4ffCopy full SHA for 542d4ff
src/bin/enqueue-job.rs
@@ -18,6 +18,10 @@ enum Command {
18
},
19
DailyDbMaintenance,
20
SquashIndex,
21
+ NormalizeIndex {
22
+ #[arg(long = "dry-run")]
23
+ dry_run: bool,
24
+ },
25
}
26
27
fn main() -> Result<()> {
@@ -47,5 +51,6 @@ fn main() -> Result<()> {
47
51
} => Ok(worker::dump_db(database_url, target_name).enqueue(&conn)?),
48
52
Command::DailyDbMaintenance => Ok(worker::daily_db_maintenance().enqueue(&conn)?),
49
53
Command::SquashIndex => Ok(worker::squash_index().enqueue(&conn)?),
54
+ Command::NormalizeIndex { dry_run } => Ok(worker::normalize_index(dry_run).enqueue(&conn)?),
50
55
56
0 commit comments