mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-04 16:35:57 +00:00
Log language clarification
This commit is contained in:
parent
3b6b316e42
commit
177f1f2536
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ class Monitor extends BeanModel {
|
|||
}
|
||||
|
||||
// Create stats to append to messages/logs
|
||||
const methodDescription = [ "average", "max" ].includes(method) ? `${method} of ${windowDuration}s` : method;
|
||||
const methodDescription = [ "average", "max" ].includes(method) ? `${method} of last ${windowDuration}s` : method;
|
||||
let msgStats = `Response: ${actualResponseTime}ms (${methodDescription}) | Threshold: ${threshold}ms (${thresholdDescription})`;
|
||||
// Add window duration for methods that make sense
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue