fix: when upgrading, two revisions of same asset in same second broke upgrade
This commit is contained in:
parent
73f1a3e379
commit
fb33859cc6
3 changed files with 15 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue