refactor(monitor): extract magic numbers into named constants
Closes #75
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user