archive instead of Some(u64::MAX) in the logs
This commit is contained in:
parent
0ab7738393
commit
91b853d21e
|
@ -358,7 +358,11 @@ impl Web3Rpc {
|
||||||
.store(limit, atomic::Ordering::Release);
|
.store(limit, atomic::Ordering::Release);
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("block data limit on {}: {:?}", self, limit);
|
if limit == Some(u64::MAX) {
|
||||||
|
info!("block data limit on {}: archive", self);
|
||||||
|
} else {
|
||||||
|
info!("block data limit on {}: {:?}", self, limit);
|
||||||
|
}
|
||||||
|
|
||||||
Ok(limit)
|
Ok(limit)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue