diff --git a/bitshift/crawler/indexer.py b/bitshift/crawler/indexer.py index c7973b6..01687bd 100644 --- a/bitshift/crawler/indexer.py +++ b/bitshift/crawler/indexer.py @@ -418,7 +418,7 @@ class _GitCloner(threading.Thread): """ while True: - while self.index_queue.empty() and self.run_event.is_set(): + while self.clone_queue.empty() and self.run_event.is_set(): time.sleep(THREAD_QUEUE_SLEEP) if not self.run_event.is_set(): break