Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

refactor(rust): drop a comment that repeats the reserve doc

Yujong Leecc23e5781e4d
diff --git a/litellm-rust/crates/host-python/src/fork_gate.rs b/litellm-rust/crates/host-python/src/fork_gate.rs
index cdf269deaec..c4842dd9223 100644
--- a/litellm-rust/crates/host-python/src/fork_gate.rs
+++ b/litellm-rust/crates/host-python/src/fork_gate.rs
@@ -58,8 +58,6 @@ impl ForkGate {
pub(crate) fn reserve(&self, pid: u32) -> Result<(), RuntimeAlreadyStarted> {
self.fork_only_pid.store(pid, Ordering::SeqCst);
if self.runtime_pid.load(Ordering::SeqCst) == pid {
- // Nothing may change for a process that already runs the runtime: its children
- // must still be refused.
let _ =
self.fork_only_pid
.compare_exchange(pid, UNSET, Ordering::SeqCst, Ordering::SeqCst);