feat: Add telemetry, timing, and detailed logging across server, stub, and nvim-core

This commit is contained in:
Riz Ashraf committed 2026-09-19 04:13:07 +01:00
1 parent 26cf6cee80
commit 2fdb03c302
4 files changed
+62 -4

No files matched your search

+1
View File
@@ -263,6 +263,7 @@ fn run_server(state: Arc<MemoryState>) -> Result<(), Box<dyn std::error::Error>>
"/shutdown",
post(|| async move {
std::thread::spawn(|| {
tracing::info!("Received shutdown request via /shutdown endpoint. Exiting process cleanly.");
std::thread::sleep(std::time::Duration::from_millis(100));
std::process::exit(0);
});