From 50408e91eee3739c9786bf10dd81c4e7646b42bd Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Mon, 5 Oct 2026 19:01:57 +0300 Subject: [PATCH] [ops] drop a commented-out pending remove it named a keyspace field that's private now, and the comment above it already said why the remove isn't needed. --- src/ops.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ops.rs b/src/ops.rs index 56edff1..8207606 100644 --- a/src/ops.rs +++ b/src/ops.rs @@ -160,8 +160,7 @@ pub fn transition_repo<'s>( } RepoStatus::Deactivated | RepoStatus::Takendown | RepoStatus::Suspended => { lifecycle_transitions.push((did.clone().into_static(), GaugeState::Resync(None))); - // this shouldnt be needed since a repo wont be in a pending state when it gets to any of these states - // batch.remove(&db.pending, &pending_key); + // no pending key to drop, a repo isn't queued by the time it reaches any of these let resync_state = ResyncState::Gone { status: new_status.clone(), }; -- 2.54.0