Skip to content

Commit

Permalink
Merge pull request #4772 from novuhq/Auto_index
Browse files Browse the repository at this point in the history
Add auto create index variables to env
  • Loading branch information
Cliftonz authored Nov 9, 2023
2 parents 4219509 + 9eecf6e commit ac5abfd
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/api/src/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ INTERCOM_IDENTITY_VERIFICATION_SECRET_KEY=
LAUNCH_DARKLY_SDK_KEY=

IS_API_IDEMPOTENCY_ENABLED=false
AUTO_CREATE_INDEXES=true
2 changes: 2 additions & 0 deletions apps/api/src/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ INTERCOM_IDENTITY_VERIFICATION_SECRET_KEY=
LAUNCH_DARKLY_SDK_KEY=

IS_API_IDEMPOTENCY_ENABLED=false
## This value should be set to true if it is the first time you are running the with the database
AUTO_CREATE_INDEXES=false
3 changes: 2 additions & 1 deletion apps/api/src/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ REDIS_CACHE_CONNECTION_TIMEOUT=
REDIS_CACHE_KEEP_ALIVE=
REDIS_CACHE_FAMILY=
REDIS_CACHE_KEY_PREFIX=
REDIS_CACHE_ENABLE_AUTOPIPELINING=false
REDIS_CACHE_ENABLE_AUTOPIPELINING=false

IS_REQUEST_RATE_LIMITING_ENABLED=false
IS_IN_MEMORY_CLUSTER_MODE_ENABLED=false
Expand Down Expand Up @@ -92,3 +92,4 @@ NOVU_SMS_INTEGRATION_TOKEN=test
NOVU_SMS_INTEGRATION_SENDER=1234567890

IS_API_IDEMPOTENCY_ENABLED=true
AUTO_CREATE_INDEXES=true
2 changes: 2 additions & 0 deletions apps/inbound-mail/.example.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ REDIS_HOST="localhost"
REDIS_PORT="6379"

LOGGING_LEVEL=info
## This value should be set to true if it is the first time you are running the with the database
AUTO_CREATE_INDEXES=false
2 changes: 2 additions & 0 deletions apps/worker/src/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ NEW_RELIC_APP_NAME="[DEV] - worker"

# Launch Darkly
LAUNCH_DARKLY_SDK_KEY=

AUTO_CREATE_INDEXES=true
4 changes: 4 additions & 0 deletions apps/worker/src/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@ NEW_RELIC_APP_NAME="[PROD] - worker"

# Launch Darkly
LAUNCH_DARKLY_SDK_KEY=


## This value should be set to true if it is the first time you are running the with the database
AUTO_CREATE_INDEXES=false
2 changes: 2 additions & 0 deletions apps/worker/src/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ LOGGING_LEVEL=error

# Launch Darkly
LAUNCH_DARKLY_SDK_KEY=

AUTO_CREATE_INDEXES=true
2 changes: 2 additions & 0 deletions apps/ws/src/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ NEW_RELIC_ENABLED=true
NEW_RELIC_APP_NAME="[DEV] - ws"
NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true
LOGGING_LEVEL=info

AUTO_CREATE_INDEXES=true
3 changes: 3 additions & 0 deletions apps/ws/src/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ NEW_RELIC_ENABLED=true
NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true
LOGGING_LEVEL=info
MONGO_MIN_POOL_SIZE=50

## This value should be set to true if it is the first time you are running the with the database
AUTO_CREATE_INDEXES=false
1 change: 1 addition & 0 deletions apps/ws/src/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ GLOBAL_CONTEXT_PATH=
WS_CONTEXT_PATH=

LOGGING_LEVEL=error
AUTO_CREATE_INDEXES=true

1 comment on commit ac5abfd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.