diff --git a/src/ast/ast_index_service.rs b/src/ast/ast_index_service.rs index 828e1e26b..be1409677 100644 --- a/src/ast/ast_index_service.rs +++ b/src/ast/ast_index_service.rs @@ -244,6 +244,11 @@ async fn ast_indexer_thread( .collect(); for (doc, res) in zip(docs_with_text, symbols) { + let is_ast_full2 = ast_index.lock().await.is_overflowed(); + if is_ast_full2 { + let mut locked_status = status.lock().await; + locked_status.ast_max_files_hit = true; + } match res { Ok(symbols) => { stats_symbols_cnt += symbols.len();