aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-build-task.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 390fe8e..20a3518 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -1543,7 +1543,13 @@ handle (request& rq, response& rs)
t.commit ();
}
- catch (const odb::deadlock&) {} // Just try with the next rebuild.
+ catch (const odb::deadlock&)
+ {
+ // Just try with the next rebuild. But first, reset the task
+ // response manifest that we may have prepared.
+ //
+ tsm = task_response_manifest ();
+ }
// If the task response manifest is prepared, then bail out from the
// package configuration rebuilds loop and respond.