More debugging, disable all crawlers

This commit is contained in:
Edin Dazdarevic
2020-09-13 23:45:08 +02:00
parent dfbefc20cd
commit d871d9ad1f
2 changed files with 31 additions and 28 deletions

View File

@@ -39,7 +39,7 @@ app.listen(APP_PORT, () =>
let crawlerRunning = STOP_CRAWLER;
const crawl = () => {
logDebug("Crawl start");
logDebug("Crawl start. crawlerRunning: ", crawlerRunning);
if (!crawlerRunning) {
crawlerRunning = true;
crawlAll().then(newRealEstates => {