fix: don't run an initial full-hash update every start
parent
f584aec97c
commit
ac0b4d4a9d
|
@ -283,9 +283,9 @@ fn main() -> Result<()> {
|
|||
|
||||
if !matches.is_present("NO_INITIAL_UPDATE") {
|
||||
info!("Running initial update...");
|
||||
// let new = open_result.new;
|
||||
let initial = open_result.new;
|
||||
block_background::<_, _, anyhow::Error>(move || {
|
||||
let _ = state.store.update(&upend, job_container.clone(), true);
|
||||
let _ = state.store.update(&upend, job_container.clone(), initial);
|
||||
let _ = extractors::extract_all(upend, state.store, job_container);
|
||||
Ok(())
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue