Browse Source

Rearrange sleep.

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
ac5f0981cc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bitshift/crawler/crawl.py

+ 1
- 1
bitshift/crawler/crawl.py View File

@@ -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…
Cancel
Save