File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ export const createCdpRedisPool = (config: PluginsServerConfig): CdpRedis => {
9393 const client = await createRedisClient ( config . CDP_REDIS_HOST , {
9494 port : config . CDP_REDIS_PORT ,
9595 password : config . CDP_REDIS_PASSWORD ,
96+ db : config . CDP_REDIS_DB ,
9697 } )
9798
9899 client . defineCommand ( 'checkRateLimit' , {
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ export function getDefaultConfig(): PluginsServerConfig {
167167 CDP_EVENT_PROCESSOR_EXECUTE_FIRST_STEP : true ,
168168 CDP_REDIS_HOST : '' ,
169169 CDP_REDIS_PORT : 6479 ,
170+ CDP_REDIS_DB : 0 ,
170171 CDP_CYCLOTRON_BATCH_DELAY_MS : 50 ,
171172 CDP_CYCLOTRON_BATCH_SIZE : 300 ,
172173 CDP_GOOGLE_ADWORDS_DEVELOPER_TOKEN : '' ,
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ export type CdpConfig = {
126126 CDP_REDIS_HOST : string
127127 CDP_REDIS_PORT : number
128128 CDP_REDIS_PASSWORD : string
129+ CDP_REDIS_DB : number
129130 CDP_EVENT_PROCESSOR_EXECUTE_FIRST_STEP : boolean
130131 CDP_GOOGLE_ADWORDS_DEVELOPER_TOKEN : string
131132 CDP_FETCH_TIMEOUT_MS : number
You can’t perform that action at this time.
0 commit comments