fix: typo
This commit is contained in:
@@ -139,9 +139,9 @@ function Performance:stopTimer(name)
|
|||||||
|
|
||||||
-- Check for warnings
|
-- Check for warnings
|
||||||
if elapsed > self.criticalThresholdMs then
|
if elapsed > self.criticalThresholdMs then
|
||||||
self:addWarning(name, elapsed, "critical")
|
self:_addWarning(name, elapsed, "critical")
|
||||||
elseif elapsed > self.warningThresholdMs then
|
elseif elapsed > self.warningThresholdMs then
|
||||||
self:addWarning(name, elapsed, "warning")
|
self:_addWarning(name, elapsed, "warning")
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.logToConsole then
|
if self.logToConsole then
|
||||||
|
|||||||
Reference in New Issue
Block a user