archive instead of Some(u64::MAX) in the logs

This commit is contained in:
Bryan Stitt 2023-02-21 21:14:49 -08:00
parent 0ab7738393
commit 91b853d21e

@ -358,7 +358,11 @@ impl Web3Rpc {
.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)
}