Minor fixes.
This commit is contained in:
@@ -11,7 +11,7 @@ var where = require('lodash.where');
|
||||
|
||||
//====================================================================
|
||||
|
||||
function Memory(models)
|
||||
function Memory()
|
||||
{
|
||||
Memory.super_.call(this);
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ var thenRedis = require('then-redis');
|
||||
|
||||
// TODO: Remote events.
|
||||
|
||||
function Redis(options, models)
|
||||
function Redis(options)
|
||||
{
|
||||
if (!options)
|
||||
{
|
||||
@@ -49,7 +49,7 @@ function Redis(options, models)
|
||||
throw 'missing option: prefix';
|
||||
}
|
||||
|
||||
Redis.super_.call(this, models);
|
||||
Redis.super_.call(this);
|
||||
|
||||
this.redis = options.connection || thenRedis.createClient(options.uri);
|
||||
this.prefix = options.prefix;
|
||||
|
||||
@@ -40,9 +40,6 @@ const DEFAULTS = {
|
||||
],
|
||||
mounts: {},
|
||||
},
|
||||
redis: {
|
||||
// Default values are handled by `redis`.
|
||||
},
|
||||
};
|
||||
|
||||
const DEPRECATED_ENTRIES = [
|
||||
|
||||
Reference in New Issue
Block a user