LiveQuery: Add options for Redis (#5584)
Closes: https://github.com/parse-community/parse-server/issues/5387
This commit is contained in:
@@ -377,6 +377,11 @@ module.exports.LiveQueryOptions = {
|
||||
help: 'LiveQuery pubsub adapter',
|
||||
action: parsers.moduleOrObjectParser,
|
||||
},
|
||||
redisOptions: {
|
||||
env: 'PARSE_SERVER_LIVEQUERY_REDIS_OPTIONS',
|
||||
help: "parse-server's LiveQuery redisOptions",
|
||||
action: parsers.objectParser,
|
||||
},
|
||||
redisURL: {
|
||||
env: 'PARSE_SERVER_LIVEQUERY_REDIS_URL',
|
||||
help: "parse-server's LiveQuery redisURL",
|
||||
@@ -421,6 +426,11 @@ module.exports.LiveQueryServerOptions = {
|
||||
help: 'LiveQuery pubsub adapter',
|
||||
action: parsers.moduleOrObjectParser,
|
||||
},
|
||||
redisOptions: {
|
||||
env: 'PARSE_LIVE_QUERY_SERVER_REDIS_OPTIONS',
|
||||
help: "parse-server's LiveQuery redisOptions",
|
||||
action: parsers.objectParser,
|
||||
},
|
||||
redisURL: {
|
||||
env: 'PARSE_LIVE_QUERY_SERVER_REDIS_URL',
|
||||
help: "parse-server's LiveQuery redisURL",
|
||||
|
||||
Reference in New Issue
Block a user