Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zcache

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zcache - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

lib/CacheCluster.js

@@ -31,3 +31,3 @@ var poolModule = require('generic-pool')

CacheCluster.prototype.setCapacity = function (uri, capacity, opts, warmUpMs) {
CacheCluster.prototype.setNodeCapacity = function (uri, capacity, opts, warmUpMs) {
if (!capacity && !this._servers[uri]) return

@@ -34,0 +34,0 @@

{
"name": "zcache"
, "description": "AWS zone-aware caching"
, "version": "0.1.2"
, "version": "0.1.3"
, "homepage": "https://github.com/azulus/zcache"

@@ -6,0 +6,0 @@ , "authors": [

@@ -41,5 +41,5 @@ var zcache = require('../index')

})
cacheInstance.setCapacity('localhost:11212', 10, {type: 'memcache'}, 0)
cacheInstance.setCapacity('localhost:11213', 5, {type: 'memcache'}, 0)
cacheInstance.setCapacity('localhost:11212', 5, {type: 'memcache'}, 0)
cacheInstance.setNodeCapacity('localhost:11212', 10, {type: 'memcache'}, 0)
cacheInstance.setNodeCapacity('localhost:11213', 5, {type: 'memcache'}, 0)
cacheInstance.setNodeCapacity('localhost:11212', 5, {type: 'memcache'}, 0)

@@ -46,0 +46,0 @@ test.equal(cacheInstance.isAvailable(), false, "Connection should not be available")

@@ -33,4 +33,4 @@ var zcache = require('../index')

})
memcacheCluster.setCapacity('localhost:11212', 5, {memcache: true}, 0)
memcacheCluster.setCapacity('localhost:11213', 5, {memcache: true}, 0)
memcacheCluster.setNodeCapacity('localhost:11212', 5, {memcache: true}, 0)
memcacheCluster.setNodeCapacity('localhost:11213', 5, {memcache: true}, 0)

@@ -37,0 +37,0 @@ var redisInstance = new zcache.RedisConnection('localhost', 6379)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc