BUG 9720 Proceso de actualizacióe ProcessMaker es lento SOLVED
- ProcessMaker update process is slow for query. - Was optimized queries and was modified the rebuild "Table content".
This commit is contained in:
@@ -50,7 +50,8 @@
|
|||||||
|
|
||||||
$e_all = defined('E_DEPRECATED') ? E_ALL & ~E_DEPRECATED : E_ALL;
|
$e_all = defined('E_DEPRECATED') ? E_ALL & ~E_DEPRECATED : E_ALL;
|
||||||
$e_all = defined('E_STRICT') ? E_ALL & ~E_STRICT : $e_all;
|
$e_all = defined('E_STRICT') ? E_ALL & ~E_STRICT : $e_all;
|
||||||
//$e_all = $e_all & ~E_NOTICE; // don't notices
|
$e_all = $e_all & E_WARNING; // show warning
|
||||||
|
$e_all = $e_all & ~E_NOTICE; // don't notices
|
||||||
|
|
||||||
// Do not change any of these settings directly, use env.ini instead
|
// Do not change any of these settings directly, use env.ini instead
|
||||||
ini_set('display_errors', $config['debug']);
|
ini_set('display_errors', $config['debug']);
|
||||||
|
|||||||
@@ -369,13 +369,13 @@ class Content extends BaseContent {
|
|||||||
foreach ($content as $key => $value) {
|
foreach ($content as $key => $value) {
|
||||||
unset($langsAsoc[$value['CON_LANG']]);
|
unset($langsAsoc[$value['CON_LANG']]);
|
||||||
}
|
}
|
||||||
foreach ($langsAsoc as $key) {
|
foreach ($langsAsoc as $key => $value) {
|
||||||
$this->rowsInserted++;
|
$this->rowsInserted++;
|
||||||
$this->fastInsertContent(
|
$this->fastInsertContent(
|
||||||
$default['CON_CATEGORY'],
|
$default['CON_CATEGORY'],
|
||||||
$default['CON_PARENT'],
|
$default['CON_PARENT'],
|
||||||
$default['CON_ID'],
|
$default['CON_ID'],
|
||||||
$lang,
|
$value,
|
||||||
$default['CON_VALUE']
|
$default['CON_VALUE']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user