find matching real estates for new search request and notify

This commit is contained in:
Bilal Catic
2019-10-07 20:49:54 +02:00
parent 502c7c3e35
commit 615aed65b6
7 changed files with 154 additions and 26 deletions

View File

@@ -25,6 +25,8 @@ const AWS_EMAIL_CONFIG = {
const MAX_REAL_ESTATES_IN_EMAIL =
parseInt(process.env.MAX_REAL_ESTATES_IN_EMAIL) || 10;
const MAX_REAL_ESTATES_IN_FIRST_EMAIL =
parseInt(process.env.MAX_REAL_ESTATES_IN_FIRST_EMAIL) || 5;
module.exports = {
APP_PORT,
@@ -33,5 +35,6 @@ module.exports = {
CRAWLER_INTERVAL,
STOP_CRAWLER,
AWS_EMAIL_CONFIG,
MAX_REAL_ESTATES_IN_EMAIL
MAX_REAL_ESTATES_IN_EMAIL,
MAX_REAL_ESTATES_IN_FIRST_EMAIL
};