mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 14:47:18 +02:00
fix: preserve removal intent when Redis enqueue fails
This commit is contained in:
3 files changed
+42
-9
No files matched your search
+1
-1
@@ -203,7 +203,7 @@ export async function recoverStuckRemoving() {
|
||||
...serializeError(e),
|
||||
repoId: doc.repoId,
|
||||
});
|
||||
await markErrorIfRemoving(doc.repoId, "removal_interrupted");
|
||||
// Keep REMOVING so another recovery pass can retry the enqueue.
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user