Skip to content

Commit

Permalink
Merge pull request #3491 from alephdata/bugfix/explicitly-disable-thr…
Browse files Browse the repository at this point in the history
…eads

Explicitly disable servicelayer worker threads in Helm chart & env
  • Loading branch information
stchris authored Nov 10, 2023
2 parents 882d1e5 + ca58562 commit 4d418e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions aleph.env.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,10 @@ SENTRY_DSN=

# Sentry environment description, see https://docs.sentry.io/platforms/python/configuration/environments/
SENTRY_ENVIRONMENT=

# Number of threads to use in servicelayer workers.
# Set this to 0 to disable threads and use one worker per process.
# Non-zero values use as many threads as specified.
# If unset workers will use as many threads as there are logical CPUs installed.
# See https://docs.aleph.occrp.org/developers/installation/#scaling-workers
# WORKER_THREADS=
2 changes: 1 addition & 1 deletion helm/charts/aleph/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@ worker:
memory: 800Mi

env:
WORKER_THREADS: 5
WORKER_THREADS: 0

0 comments on commit 4d418e5

Please sign in to comment.