try to reconnect to the DB if rebuildLineage.pl takes a long time
This commit is contained in:
parent
b13064b912
commit
906fa4aa97
2 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
- Change Group INSERT to REPLACE to prevent merge problems in multi-master DB clusters
|
||||
- added #12078: Add alt tag to default Image template
|
||||
- fixed #12077: Carousel update not possible
|
||||
- Try to reconnect to MySQL if sbin/rebuildLineage.pl takes too long
|
||||
|
||||
7.10.11
|
||||
- fixed #12057: WebGUI::Search, assetIds search clause
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ pod2usage() unless (defined($configFile) && $configFile ne '');
|
|||
|
||||
print "Starting..." unless ($quiet);
|
||||
my $session = WebGUI::Session->open($webguiRoot,$configFile);
|
||||
# We might take a while, reconnect if we get disconnected for inactivity
|
||||
$session->db->dbh->{mysql_auto_reconnect} = 1;
|
||||
print "OK\n" unless ($quiet);
|
||||
|
||||
print "Looking for descendant replationships...\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue