There was an error while loading. Please reload this page.
1 parent 6c6070a commit b42147bCopy full SHA for b42147b
1 file changed
compose/fastapi/start-backend-datadog
@@ -13,13 +13,15 @@ set -o pipefail
13
set -o nounset
14
15
16
-NUM_WORKERS=1
17
-if command -v nproc >/dev/null 2>&1; then
18
- NUM_WORKERS=$(nproc)
19
- echo "Starting app with $NUM_WORKERS workers..."
20
-else
21
- echo "No nproc, defaulting to 1 worker..."
22
-fi
+#NUM_WORKERS=1
+#if command -v nproc >/dev/null 2>&1; then
+# NUM_WORKERS=$(nproc)
+# echo "Starting app with $NUM_WORKERS workers..."
+#else
+# echo "No nproc, defaulting to 1 worker..."
+#fi
23
+
24
+NUM_WORKERS=2
25
26
# https://www.uvicorn.org/settings/
27
export UVICORN_HOST="0.0.0.0"
0 commit comments