diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 099d256656..97b55ae3c0 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -838,7 +838,11 @@ class baseRouter */ protected function setupProfiling(): void { - if(!empty($this->config->debug) && $this->config->debug >= 3 && $this->config->installed) $this->dbh->exec('SET profiling = 1'); + if(!empty($this->config->debug) && $this->config->debug >= 3 && $this->config->installed) + { + $this->dbh->exec('SET profiling_history_size = 200'); + $this->dbh->exec('SET profiling = 1'); + } } /**