@ladjs/redis
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -38,4 +38,10 @@ const IORedis = require('ioredis'); | ||
function Redis(config = {}, logger = console, monitor = false) { | ||
function Redis( | ||
config = {}, | ||
logger = console, | ||
monitor = false, | ||
maxListeners = 15 | ||
) { | ||
const client = new IORedis(config); | ||
client.setMaxListeners(maxListeners); | ||
// https://github.com/luin/ioredis#monitor | ||
@@ -42,0 +48,0 @@ if (monitor) { |
{ | ||
"name": "@ladjs/redis", | ||
"description": "Redis for Lad", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -23,20 +23,20 @@ "ava": { | ||
"dependencies": { | ||
"ioredis": "^4.14.0" | ||
"ioredis": "^4.17.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.1.0", | ||
"@commitlint/config-conventional": "^8.1.0", | ||
"ava": "^2.3.0", | ||
"codecov": "^3.5.0", | ||
"cross-env": "^5.2.1", | ||
"eslint": "6.3.0", | ||
"@commitlint/cli": "^8.3.5", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"ava": "^3.8.2", | ||
"codecov": "^3.7.0", | ||
"cross-env": "^7.0.2", | ||
"eslint": "6.x", | ||
"eslint-config-xo-lass": "^1.0.3", | ||
"eslint-plugin-node": "^10.0.0", | ||
"fixpack": "^2.3.1", | ||
"husky": "^3.0.5", | ||
"lint-staged": "^9.2.5", | ||
"nyc": "^14.1.1", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-github": "^0.0.16", | ||
"xo": "^0.24.0" | ||
"eslint-plugin-node": "^11.1.0", | ||
"fixpack": "^3.0.6", | ||
"husky": "^4.2.5", | ||
"lint-staged": "^10.2.6", | ||
"nyc": "^15.0.1", | ||
"remark-cli": "^8.0.0", | ||
"remark-preset-github": "^1.0.1", | ||
"xo": "0.25" | ||
}, | ||
@@ -89,16 +89,2 @@ "engines": { | ||
"license": "MIT", | ||
"lint-staged": { | ||
"*.js": [ | ||
"xo --fix", | ||
"git add" | ||
], | ||
"*.md": [ | ||
"remark . -qfo", | ||
"git add" | ||
], | ||
"package.json": [ | ||
"fixpack", | ||
"git add" | ||
] | ||
}, | ||
"main": "index.js", | ||
@@ -105,0 +91,0 @@ "prettier": { |
Sorry, the diff of this file is not supported yet
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
7185
10
76
Updatedioredis@^4.17.1