feat: Add telemetry, timing, and detailed logging across server, stub, and nvim-core
This commit is contained in:
1 parent
26cf6cee80
commit
2fdb03c302
4 files changed
+62
-4
No files matched your search
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user