Bläddra i källkod

Rearrange sleep.

tags/v1.0^2
Ben Kurtovic 10 år sedan
förälder
incheckning
ac5f0981cc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      bitshift/crawler/crawl.py

+ 1
- 1
bitshift/crawler/crawl.py Visa fil

@@ -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()



Laddar…
Avbryt
Spara