fix: when upgrading, two revisions of same asset in same second broke upgrade

This commit is contained in:
Doug Bell 2007-12-13 20:13:27 +00:00
parent 73f1a3e379
commit fb33859cc6
3 changed files with 15 additions and 5 deletions

View file

@ -290,6 +290,7 @@ foreach my $filename (keys %config) {
}
$config{$filename}{version} = $upgrade{$upgrade}{to};
$notRun = 0;
sleep 1; # Sleep a second to avoid adding asset revisions too quickly
}
my $session = WebGUI::Session->open("../..",$filename);
print "\tSetting site upgrade completed..." unless ($quiet);