chore: turn off collab preindexing

This commit is contained in:
Bartosz Sypytkowski 2024-11-06 10:10:55 +01:00
parent 863e405263
commit 3fc49a8b21
2 changed files with 3 additions and 3 deletions

View File

@ -314,12 +314,12 @@ impl CollabGroup {
tokio::select! {
_ = snapshot_tick.tick() => {
if let Err(err) = state.persister.save().await {
tracing::warn!("failed to persist document `{}`: {}", state.object_id, err);
tracing::warn!("failed to persist document `{}/{}`: {}", state.workspace_id, state.object_id, err);
}
},
_ = state.shutdown.cancelled() => {
if let Err(err) = state.persister.save().await {
tracing::warn!("failed to persist document on shutdown `{}`: {}", state.object_id, err);
tracing::warn!("failed to persist document on shutdown `{}/{}`: {}", state.workspace_id, state.object_id, err);
}
break;
}

View File

@ -92,7 +92,7 @@ where
spawn_metrics(metrics.clone(), storage.clone());
spawn_handle_unindexed_collabs(indexer_provider, storage);
//spawn_handle_unindexed_collabs(indexer_provider, storage);
Ok(Self {
group_manager,