mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-16 05:28:12 -07:00
global: snapshot
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use std::time::Instant;
|
||||
|
||||
use api::{ApiRoutes, VecIdToIndexToVec};
|
||||
@@ -31,7 +33,7 @@ pub async fn main(indexer: Indexer<STATELESS>, computer: Computer<STATELESS>) ->
|
||||
|
||||
indexer
|
||||
.vecs
|
||||
.as_any_json_vec_slice()
|
||||
.as_any_json_vecs()
|
||||
.into_iter()
|
||||
.for_each(|vec| vecs.insert(vec));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user