From c8b3cdf83a63eac15aef0361d852b9701e1308c1 Mon Sep 17 00:00:00 2001 From: Vincent Pochet Date: Tue, 28 May 2024 14:49:42 +0200 Subject: [PATCH] feat: Parralelize charge usage computation --- docker-compose.dev.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 6961587..a47239a 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -103,6 +103,7 @@ services: - ENCRYPTION_DETERMINISTIC_KEY=${ENCRYPTION_DETERMINISTIC_KEY:-your-encrpytion-deterministic-key} - ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt} - LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false} + - LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://redis:6379 - SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-} @@ -151,6 +152,7 @@ services: - ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt} - LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false} - LAGO_FRONT_URL=${FRONT_URL:-https://app.lago.dev} + - LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://redis:6379 - SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-} @@ -186,6 +188,7 @@ services: - ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt} - LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false} - LAGO_FRONT_URL=${FRONT_URL:-https://app.lago.dev} + - LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://redis:6379 - SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}