refactor(monitor): extract magic numbers into named constants

Closes #75
This commit is contained in:
2026-06-05 16:30:38 -04:00
parent 65a83368bf
commit d53a4e6ac3
2 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ func (e *Engine) AddLog(msg string) {
}
func (e *Engine) InitLogs() {
logs, err := e.db.LoadLogs(100)
logs, err := e.db.LoadLogs(maxLogEntries)
if err != nil {
return
}