Skip to content

Commit

Permalink
Rename config section to PagePerformance
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-it committed Jul 4, 2023
1 parent cf27b5f commit 7198b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/global.ini.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@
PluginsInstalled[] = Monolog
PluginsInstalled[] = Intl

[PluginPagePerformance]
[PagePerformance]
; The values used in reports 'sum/total' and 'average' are capped to reduce the impact of single failed performance measurements.
;
; Default caps are at 100-fold an avg/high value. Thereby one wrong value in 10000 values results in a 1% deviation:
Expand Down
2 changes: 1 addition & 1 deletion plugins/PagePerformance/Columns/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ abstract public function getRequestParam();

public function getConfigValueCap()
{
return Config::getInstance()->PluginPagePerformance[$this->columnName . '_cap_' . $this->type];
return Config::getInstance()->PagePerformance[$this->columnName . '_cap_' . $this->type];
}

public function getSqlCappedValue()
Expand Down

0 comments on commit 7198b36

Please sign in to comment.