global: snapshot

This commit is contained in:
nym21
2025-02-28 11:52:25 +01:00
parent 5b1ca3711a
commit 1b93ccf608
35 changed files with 460 additions and 271 deletions
+3 -1
View File
@@ -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));