Open rivermont opened 6 years ago
It seems like this is inefficient and could result in some saving errors.
@rivermont Can you please elaborate this?
I would like to understand all the cases where this will result in errors.
@rivermont
I could find out few errors while auto saving and made a PR for the same.
Also, I couldn't find a way to fix logging which takes minimal change. Maybe need to revamp the logging logic so that crawling logging is paused when saving.
Checklist
Expected Behavior
All threads to stop as crawler prints info and saves files.
Actual Behavior
Once one thread reaches
SAVE_COUNT
links crawled, it saves while the other threads continue. This results in[CRAWL]
logs in between[INFO]
logs.It seems like this is inefficient and could result in some saving errors.
Steps to Reproduce the Problem
Specifications