mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 23:18:24 +00:00
fix: refs/nostr/<event-id> gets removed after 30m if no event arrives
we forgot to add the placeholder entry
This commit is contained in:
@@ -134,8 +134,13 @@ pub async fn authorize_push(
|
||||
e
|
||||
)));
|
||||
}
|
||||
|
||||
// Create placeholder for git-data-first scenario
|
||||
// This allows cleanup if the PR event never arrives
|
||||
purgatory.add_pr_placeholder(event_id_hex.to_string(), new_oid.clone());
|
||||
|
||||
debug!(
|
||||
"No purgatory entry for {} - validated against database",
|
||||
"Created placeholder for {} - awaiting PR event (will expire in 30min if event doesn't arrive)",
|
||||
event_id_hex
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user