mirror of
https://github.com/juanfont/headscale
synced 2026-04-25 17:15:33 +02:00
Fix typo in comment about fsnotify behavior
Correct loose (opposite of tight) to lose (opposite of keep).
This commit is contained in:
@@ -100,7 +100,7 @@ func (e *ExtraRecordsMan) Run() {
|
|||||||
|
|
||||||
e.updateRecords()
|
e.updateRecords()
|
||||||
|
|
||||||
// If a file is removed or renamed, fsnotify will loose track of it
|
// If a file is removed or renamed, fsnotify will lose track of it
|
||||||
// and not watch it. We will therefore attempt to re-add it with a backoff.
|
// and not watch it. We will therefore attempt to re-add it with a backoff.
|
||||||
case fsnotify.Remove, fsnotify.Rename:
|
case fsnotify.Remove, fsnotify.Rename:
|
||||||
_, err := backoff.Retry(context.Background(), func() (struct{}, error) {
|
_, err := backoff.Retry(context.Background(), func() (struct{}, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user