ci: outdated

This commit is contained in:
nym21
2026-01-27 17:52:40 +01:00
parent 88145d08e5
commit 730e83472a
12 changed files with 500 additions and 36 deletions
+3 -1
View File
@@ -57,8 +57,10 @@ pub fn run() -> anyhow::Result<()> {
let indexed_height = indexer.vecs.starting_height();
let blocks_behind = chain_height.saturating_sub(*indexed_height);
if blocks_behind > 10_000 {
info!("---");
info!("Indexing {blocks_behind} blocks before starting server...");
sleep(Duration::from_secs(3));
info!("---");
sleep(Duration::from_secs(10));
indexer.index(&blocks, &client, &exit)?;
drop(indexer);
Mimalloc::collect();