File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -372,15 +372,16 @@ impl GlobalState {
372372 // handlers that mutate those still refresh explicitly.
373373 let old_revision = salsa:: plumbing:: current_revision ( & self . world . db ) ;
374374
375- lsp:: log_info!(
376- "Entering handler with {n} outstanding Salsa db holds" ,
377- n = self . world. db. outstanding_holds( )
378- ) ;
375+ lsp:: log_info!( "Processing next event" ) ;
379376
380377 match event {
381378 Event :: Lsp ( msg) => match msg {
382379 LspMessage :: Notification ( notif) => {
383380 lsp:: log_info!( "{notif:#?}" ) ;
381+ lsp:: log_info!(
382+ "Entering notification handler with {n} outstanding Salsa db holds" ,
383+ n = self . world. db. outstanding_holds( )
384+ ) ;
384385
385386 match notif {
386387 LspNotification :: Initialized ( _params) => {
@@ -529,7 +530,12 @@ impl GlobalState {
529530 scan,
530531 & editor_owned,
531532 ) ;
532- lsp:: log_info!( "Dispatching {n} followup scan requests" , n = followups. len( ) ) ;
533+ lsp:: log_info!(
534+ "Dispatching {n} followup scan requests with {n_holds} outstanding Salsa db holds" ,
535+ n = followups. len( ) ,
536+ n_holds = self . world. db. outstanding_holds( ) ,
537+ ) ;
538+
533539 dispatch_scan_requests ( & self . events_tx , followups) ;
534540
535541 // Warm the workspace index once the scan settles. Editor
You can’t perform that action at this time.
0 commit comments