interval
This commit is contained in:
@@ -37,7 +37,7 @@ func (db InputDb) Lookup(key int) string {
|
||||
func main() {
|
||||
var db InputDb
|
||||
done := make(chan struct{}, 1)
|
||||
ticker := time.NewTicker(10 * time.Millisecond)
|
||||
ticker := time.NewTicker(3 * time.Millisecond)
|
||||
|
||||
watcher, err := fsnotify.NewWatcher()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user