瀏覽代碼

Rearrange sleep.

tags/v1.0^2
Ben Kurtovic 10 年之前
父節點
當前提交
ac5f0981cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bitshift/crawler/crawl.py

+ 1
- 1
bitshift/crawler/crawl.py 查看文件

@@ -32,6 +32,7 @@ def crawl():

_configure_logging()
parse_servers = start_parse_servers()
time.sleep(5)

repo_clone_queue = Queue.Queue(maxsize=MAX_URL_QUEUE_SIZE)
run_event = Event()
@@ -49,7 +50,6 @@ def crawl():
threads += [GitHubCrawler(repo_clone_queue, run_event),
BitbucketCrawler(repo_clone_queue, run_event)]

time.sleep(5)
for thread in threads:
thread.start()



Loading…
取消
儲存