Skip to content

Commit

Permalink
feat(lock): update test properties
Browse files Browse the repository at this point in the history
  • Loading branch information
CianoDanilo committed Dec 10, 2024
1 parent 7424bed commit b3124f3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ CDC_STREAM_RETRY_INTERVAL_IN_MS=60000

CDC_REDIS_JOB_LOCK_KEYSPACE=cdcEventLock
CDC_REDIS_JOB_LOCK_TTL_MS=600000
CDC_REDIS_JOB_LOCK_WAIT_TIME_MS=100
CDC_REDIS_JOB_LOCK_WAIT_TIME_MS=100

OTEL_TRACES_EXPORTER=none
OTEL_METRICS_EXPORTER=none
OTEL_LOGS_EXPORTER=none
OTEL_TRACES_SAMPLER=always_off
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ services:
redis:
container_name: wallet-redis
image: redis@sha256:e422889e156ebea83856b6ff973bfe0c86bce867d80def228044eeecf925592b
env_file:
- ./.env
command: [ "sh", "-c", 'exec redis-server --requirepass "$$REDIS_PASSWORD"' ]
ports:
- "6379:6379"
Expand Down
9 changes: 7 additions & 2 deletions docker-local/wallet-cdc/wallet-cdc.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ MONGO_SERVER_SELECTION_TIMEOUT_MS=20000
MONGO_WAITING_QUEUE_MS=20000
MONGO_HEARTBEAT_FREQUENCY_MS=50000

REDIS_HOST=redis
REDIS_HOST=wallet-redis
REDIS_PORT=6379
REDIS_PASSWORD="redis_password"
REDIS_SSL_ENABLED=false
Expand All @@ -46,4 +46,9 @@ CDC_RESUME_SAVE_INTERVAL=5

CDC_REDIS_JOB_LOCK_KEYSPACE=cdcEventLock
CDC_REDIS_JOB_LOCK_TTL_MS=600000
CDC_REDIS_JOB_LOCK_WAIT_TIME_MS=100
CDC_REDIS_JOB_LOCK_WAIT_TIME_MS=100

OTEL_TRACES_EXPORTER=none
OTEL_METRICS_EXPORTER=none
OTEL_LOGS_EXPORTER=none
OTEL_TRACES_SAMPLER=always_off

0 comments on commit b3124f3

Please sign in to comment.