testing on modified dependency

This commit is contained in:
2024-06-27 21:22:18 +10:00
parent 90c50b9d85
commit 132a13ae3d
3 changed files with 10 additions and 8 deletions

View File

@@ -47,9 +47,9 @@ func main() {
log.Fatal("Error:", err)
}
sm := new(sync.Map)
go createEmptyAndDelete(ctx, sm, time.Second, time.Second, dir2Watch)
go createWriteAndDelete(ctx, sm, time.Second+(time.Millisecond*100), time.Millisecond*200, dir2Watch)
// sm := new(sync.Map)
// go createEmptyAndDelete(ctx, sm, time.Second, time.Second, dir2Watch)
// go createWriteAndDelete(ctx, sm, time.Second+(time.Millisecond*100), time.Millisecond*200, dir2Watch)
done := make(chan os.Signal, 1)
signal.Notify(done, os.Interrupt, syscall.SIGTERM)