Bugfix: proc_run hadn't worked anymore due to the priority changes
This commit is contained in:
@@ -107,6 +107,9 @@ class dba {
|
||||
|
||||
$a->save_timestamp($stamp1, "database");
|
||||
|
||||
if (strtolower(substr($sql, 0, 6)) != "select")
|
||||
$a->save_timestamp($stamp1, "database_write");
|
||||
|
||||
if(x($a->config,'system') && x($a->config['system'],'db_log')) {
|
||||
if (($duration > $a->config["system"]["db_loglimit"])) {
|
||||
$duration = round($duration, 3);
|
||||
|
||||
Reference in New Issue
Block a user