-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
This seems to be the culprit:
Lines 26 to 37 in 95d666b
| for { | |
| historyFileInfo, err := os.Stat(historyPath) | |
| if err != nil { | |
| continue | |
| } | |
| currModTime = historyFileInfo.ModTime() | |
| if currModTime.After(m.lastUpdated) { | |
| m.lastUpdated = currModTime | |
| p.Send(rr) | |
| } | |
| } |
No need to loop at full speed. Add a sleep or use something like fsnotify.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels