Skip to content

Commit

Permalink
[backend] auto-retry package get if we have missing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe authored and adrianschroeter committed Mar 5, 2013
1 parent 2c4bac6 commit 02394de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_sched
Original file line number Diff line number Diff line change
Expand Up @@ -7275,6 +7275,7 @@ NEXTPRP:

# copy old data over if we have missing packages
if ($projpacks->{$projid}->{'missingpackages'}) {
addretryevent({'type' => 'package', 'project' => $projid});
$oldpackstatus = BSUtil::retrieve("$reporoot/$prp/$myarch/:packstatus", 1) || {};
$oldpackstatus->{'packstatus'} ||= {};
$oldpackstatus->{'packerror'} ||= {};
Expand Down

0 comments on commit 02394de

Please sign in to comment.