BUG 9720 Proceso de actualizacióe ProcessMaker es lento IMPROVEMENT

- ProcessMaker update process is slow for query.
- Was optimized queries and was modified the  rebuild "Table content".
This commit is contained in:
Marco Antonio Nina
2012-10-08 15:05:01 -04:00
parent fe7120b706
commit 3899bbfd25
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ class workspaceTools {
*
* @param bool $first true if this is the first workspace to be upgrade
*/
public function upgrade($first=false, $buildCacheView=false)
public function upgrade($first=false, $buildCacheView=false, $workSpace=SYS_SYS)
{
$start = microtime(true);
CLI::logging("> Updating database...\n");
@@ -72,7 +72,7 @@ class workspaceTools {
$start = microtime(true);
CLI::logging("> Updating Content...\n");
$this->upgradeContent();
$this->upgradeContent($workSpace);
$stop = microtime(true);
$final = $stop - $start;
CLI::logging("<*> Process Updating Content carried out in $final seconds.\n");