diff --git a/guardrails_api/start-dev.sh b/guardrails_api/start-dev.sh index e5e9fc3..1b53bfb 100755 --- a/guardrails_api/start-dev.sh +++ b/guardrails_api/start-dev.sh @@ -1,9 +1 @@ -export APP_ENVIRONMENT=local -export PYTHONUNBUFFERED=1 -export LOGLEVEL="INFO" -export GUARDRAILS_LOG_LEVEL="INFO" -export GUARDRAILS_PROCESS_COUNT=1 -export SELF_ENDPOINT=http://localhost:8000 -export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES - gunicorn --bind 0.0.0.0:8000 --timeout=5 --threads=10 "guardrails_api.app:create_app()" --reload diff --git a/guardrails_api/start.sh b/guardrails_api/start.sh index 1fa5fda..2696b88 100755 --- a/guardrails_api/start.sh +++ b/guardrails_api/start.sh @@ -1 +1 @@ -gunicorn --bind 0.0.0.0:8000 --timeout=5 --workers=10 --worker-class=gthread "guardrails_api.app:create_app()" +gunicorn --bind 0.0.0.0:8000 --timeout=5 --threads=10 "guardrails_api.app:create_app()"