Skip to content

Commit 42c952c

Browse files
author
Owen Barnes
committed
minor rename, etc
1 parent 91da144 commit 42c952c

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed
File renamed without changes.

lib/publish/transports/redis.js

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ redis = require('redis');
55
module.exports = function(config) {
66
var conn, host, options, port;
77
if (config == null) config = {};
8-
if (config.redis) {
9-
throw new Error("Note the {redis: {}} object wrapper was removed in 0.3 alpha3. Please pass any Redis server options to ss.session.store.use('redis') and ss.publish.transport.use('redis') directly.");
10-
}
118
port = config.port || 6379;
129
host = config.host || "127.0.0.1";
1310
options = config.options || {};

src/publish/transports/redis.coffee

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ redis = require('redis')
44

55
module.exports = (config = {}) ->
66

7-
# REMOVE_BEFORE_0.3.0
8-
throw new Error("Note the {redis: {}} object wrapper was removed in 0.3 alpha3. Please pass any Redis server options to ss.session.store.use('redis') and ss.publish.transport.use('redis') directly.") if config.redis
9-
107
# Set options or use the defaults
118
port = config.port || 6379
129
host = config.host || "127.0.0.1"

0 commit comments

Comments
 (0)