From 56ee04e768e38ccf88ee8ff9a569e8334812572a Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Sun, 17 Jan 2016 20:47:38 +0100 Subject: [PATCH] Tweak number of main explorer --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 7cbcc1c..2f8a856 100644 --- a/main.go +++ b/main.go @@ -17,9 +17,9 @@ func Execute() error { return fmt.Errorf("Missing mandatory .csv parameter") } - albums := make(chan *Album, 1000) + albums := make(chan *Album, 10000) errors := make(chan error, 10) - parsed := make(chan bool, 1000) + parsed := make(chan bool, 10000) cached := make(chan bool, 1000) cacheBase, err := xdg.Cache.Ensure(filepath.Join("org.satellite.satbd", "test")) if err != nil { @@ -56,7 +56,7 @@ func Execute() error { parsed <- true albums <- a } - log.Printf("Done parsing albums in %s", time.Since(start)) + fmt.Printf("Done parsing albums in %s\n\n", time.Since(start)) }() go func() { @@ -72,7 +72,7 @@ func Execute() error { errors <- err } } - log.Printf("DONE caching in %s", time.Since(start)) + fmt.Printf("DONE caching in %s\n\n", time.Since(start)) }() pCount := 0