From 05ccef0d3f33ac16fad0d63aa764ff499f6e4822 Mon Sep 17 00:00:00 2001 From: GLENN HORAN Date: Sat, 27 Oct 2018 22:17:59 +0100 Subject: [PATCH 1/4] added log to start script from package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f2752e..37d2627 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test-cov": "nyc --all --include src jasmine", "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint .", - "start": "node app.js" + "start": "node app.js Node Environment: production" }, "repository": { "type": "git", From 509aa1c26a6cb3da3bb25973325c24b5827c0c1b Mon Sep 17 00:00:00 2001 From: GLENN HORAN Date: Sat, 27 Oct 2018 22:22:16 +0100 Subject: [PATCH 2/4] updated number of trending words from 40 to 80 --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index 23a29f2..3b711a1 100644 --- a/config.js +++ b/config.js @@ -20,7 +20,7 @@ const config = { maxTweetsPerTrend: 10, // Maximum number of keywords to store for each trend - maxKeywordsPerTrend: 40, + maxKeywordsPerTrend: 80, // Server interval length in seconds (Trends are updated every this many // seconds), (900 is 15 mins) From 9a9fc3096dc73bc6e8612e2197ed6fb1b7a806cc Mon Sep 17 00:00:00 2001 From: GLENN HORAN Date: Sat, 27 Oct 2018 22:23:57 +0100 Subject: [PATCH 3/4] removed package.json changes --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 37d2627..8f2752e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test-cov": "nyc --all --include src jasmine", "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint .", - "start": "node app.js Node Environment: production" + "start": "node app.js" }, "repository": { "type": "git", From 96867c0426ca1a992945d1b345d8de8cf93cb9f5 Mon Sep 17 00:00:00 2001 From: GLENN HORAN Date: Sat, 27 Oct 2018 22:28:01 +0100 Subject: [PATCH 4/4] readded package.json production environment logging --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f2752e..13f4171 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test-cov": "nyc --all --include src jasmine", "coveralls": "nyc report --reporter=text-lcov | coveralls", "lint": "eslint .", - "start": "node app.js" + "start": "node app.js Node Environment: Production" }, "repository": { "type": "git",