Remove retry logic from grasp push

This commit is contained in:
2026-10-13 10:08:02 +07:00
parent 0e3a5ed865
commit f02f699ace
2 changed files with 42 additions and 191 deletions
-4
View File
@@ -812,7 +812,6 @@ impl Backend {
let relays = relays.clone();
let refs = refs.clone();
let head = head.clone();
let executor = cx.background_executor().clone();
async move {
push_staged_to_grasps(
&client,
@@ -823,7 +822,6 @@ impl Backend {
&path,
&owner,
&relays,
&executor,
|path, base, owner, repo_id| {
Repo::open(path)?.push_all(base, owner, repo_id)
},
@@ -1234,7 +1232,6 @@ async fn announce_repository_and_push(
let servers = servers.to_vec();
let head = head.clone();
let path = path.to_path_buf();
let executor = cx.background_executor().clone();
cx.background_spawn(async move {
push_staged_to_grasps(
&client,
@@ -1245,7 +1242,6 @@ async fn announce_repository_and_push(
&path,
&owner,
&servers,
&executor,
push,
)
.await