Skip to content

Commit

Permalink
Remove shellcheck issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 2, 2024
1 parent 85cf4e6 commit 4aa7dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/tna-python/bin/tna-run
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi

# Set up the default number of workers and threads
DEFAULT_WORKERS=$(python -c "import multiprocessing; print(multiprocessing.cpu_count() * 2 + 1)")
DEFAULT_THREADS=$(($DEFAULT_WORKERS * 2))
DEFAULT_THREADS=$((DEFAULT_WORKERS * 2))

# Set the worker class
[[ "$ASYNC" = true ]] && WORKER_CLASS=uvicorn.workers.UvicornWorker || WORKER_CLASS=sync
Expand Down

0 comments on commit 4aa7dec

Please sign in to comment.