Background task manager #332
1 changed files with 0 additions and 6 deletions
|
@ -105,9 +105,6 @@ impl Worker for RepairVersionsWorker {
|
||||||
};
|
};
|
||||||
|
|
||||||
self.counter += 1;
|
self.counter += 1;
|
||||||
if self.counter % 1000 == 0 {
|
|
||||||
info!("repair_versions: {}", self.counter);
|
|
||||||
}
|
|
||||||
|
|
||||||
let version = rmp_serde::decode::from_read_ref::<_, Version>(&item_bytes)?;
|
let version = rmp_serde::decode::from_read_ref::<_, Version>(&item_bytes)?;
|
||||||
if !version.deleted.get() {
|
if !version.deleted.get() {
|
||||||
|
@ -189,9 +186,6 @@ impl Worker for RepairBlockrefsWorker {
|
||||||
};
|
};
|
||||||
|
|
||||||
self.counter += 1;
|
self.counter += 1;
|
||||||
if self.counter % 1000 == 0 {
|
|
||||||
info!("repair_block_ref: {}", self.counter);
|
|
||||||
}
|
|
||||||
|
|
||||||
let block_ref = rmp_serde::decode::from_read_ref::<_, BlockRef>(&item_bytes)?;
|
let block_ref = rmp_serde::decode::from_read_ref::<_, BlockRef>(&item_bytes)?;
|
||||||
if !block_ref.deleted.get() {
|
if !block_ref.deleted.get() {
|
||||||
|
|
Loading…
Reference in a new issue