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 01af811 commit 18ef1beCopy full SHA for 18ef1be
src/admin/enqueue_job.rs
@@ -19,6 +19,10 @@ pub enum Command {
19
},
20
DailyDbMaintenance,
21
SquashIndex,
22
+ NormalizeIndex {
23
+ #[arg(long = "dry-run")]
24
+ dry_run: bool,
25
+ },
26
}
27
28
pub fn run(command: Command) -> Result<()> {
@@ -46,5 +50,6 @@ pub fn run(command: Command) -> Result<()> {
46
50
} => Ok(worker::dump_db(database_url, target_name).enqueue(&conn)?),
47
51
Command::DailyDbMaintenance => Ok(worker::daily_db_maintenance().enqueue(&conn)?),
48
52
Command::SquashIndex => Ok(worker::squash_index().enqueue(&conn)?),
53
+ Command::NormalizeIndex { dry_run } => Ok(worker::normalize_index(dry_run).enqueue(&conn)?),
49
54
55
0 commit comments