mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Support redis cluster in queue mode (#6708)
* support redis cluster * cleanup, fix config schema * set default prefix to bull
This commit is contained in:
committed by
GitHub
parent
8ceb8322eb
commit
4029386349
@@ -353,9 +353,9 @@ export const schema = {
|
||||
},
|
||||
bull: {
|
||||
prefix: {
|
||||
doc: 'Prefix for all queue keys',
|
||||
doc: 'Prefix for all queue keys (wrap in {} for cluster mode)',
|
||||
format: String,
|
||||
default: '',
|
||||
default: 'bull',
|
||||
env: 'QUEUE_BULL_PREFIX',
|
||||
},
|
||||
redis: {
|
||||
@@ -395,6 +395,12 @@ export const schema = {
|
||||
default: '',
|
||||
env: 'QUEUE_BULL_REDIS_USERNAME',
|
||||
},
|
||||
clusterNodes: {
|
||||
doc: 'Redis Cluster startup nodes (comma separated list of host:port pairs)',
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'QUEUE_BULL_REDIS_CLUSTER_NODES',
|
||||
},
|
||||
},
|
||||
queueRecoveryInterval: {
|
||||
doc: 'If > 0 enables an active polling to the queue that can recover for Redis crashes. Given in seconds; 0 is disabled. May increase Redis traffic significantly.',
|
||||
|
||||
Reference in New Issue
Block a user