decrease sleep even more
This commit is contained in:
parent
17ba2582a5
commit
46c9a3c724
1 changed files with 1 additions and 1 deletions
2
demon.go
2
demon.go
|
@ -88,7 +88,7 @@ func listen(history []string, histfile string) error {
|
||||||
// writing to json is time consuming, so it's fine to sleep less and
|
// writing to json is time consuming, so it's fine to sleep less and
|
||||||
// get ready to detect new events sooner.
|
// get ready to detect new events sooner.
|
||||||
// also because if we copied once, we might copy soon after.
|
// also because if we copied once, we might copy soon after.
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(250 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue