MySQL may fall asleep during core extraction, so always try to wake it up

This commit is contained in:
Samuel Georges 2015-08-27 17:34:34 +10:00
parent a350e800fc
commit b39837834b
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<?php namespace System\Classes;
use Db;
use App;
use URL;
use File;
@ -415,6 +416,9 @@ class UpdateManager
@unlink($filePath);
// Database may fall asleep after this long process
Db::reconnect();
Parameters::set([
'system::core.hash' => $hash,
'system::core.build' => $build