stockshark-data-access
Advanced tools
Comparing version 1.0.69 to 1.0.70
@@ -5,3 +5,3 @@ console.log(process.env); | ||
const REDIS_PORT = process.env.REDIS_PORT || 31623; | ||
const REDIS_PASSWORD = "hoORPPRQj9"; | ||
const REDIS_PASSWORD = process.env.REDIS_PASSWORD || "hoORPPRQj9"; | ||
const REDIS_URL = "redis://" + REDIS_HOST + ":" + REDIS_PORT; | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "stockshark-data-access", | ||
"version": "1.0.69", | ||
"version": "1.0.70", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -15,3 +15,3 @@ const redis = require("redis"); | ||
return new Promise((resolve, reject) => { | ||
this.client = redis.createClient(config.REDIS_URL, { password: config.REDIS_PASSWORD }); | ||
this.client = redis.createClient(config.REDIS_URL, { user: "default", password: config.REDIS_PASSWORD }); | ||
@@ -33,3 +33,3 @@ this.client.on("connect", () => { | ||
this.client.on("error", function (err) { | ||
console.error("ERROR: " + err); | ||
console.error("REDIS ERROR: " + err); | ||
reject(err) | ||
@@ -36,0 +36,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28384