diff --git a/cmd/crowlet/crowlet.go b/cmd/crowlet/crowlet.go index 3b7c4ed..68d489e 100644 --- a/cmd/crowlet/crowlet.go +++ b/cmd/crowlet/crowlet.go @@ -201,6 +201,8 @@ func runMainLoop(urls []string, config crawler.CrawlConfig, iterations int, fore select { case <-quit: return + default: + // Don't block main loop } }