From 61c49b7f6c16d9a1819d58491a3a14697c704be7 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 8 Mar 2024 00:39:19 -0500 Subject: [PATCH] Trying to get things to work better. Why are the SQL results getting mixed...??? --- README.md | 4 ++++ conf/nginx/site-enabled_aether_fastapi_gunicorn.conf | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5f1bb7..2ec70e2 100644 --- a/README.md +++ b/README.md @@ -75,10 +75,14 @@ docker restart ae_mariadb_dev ``` ## Switch AE Docker branch +```bash git status git pull --all git switch branch_to_change_to git status +git pull origin branch_to_git +less docker-compose.yml +``` ## Clone Svelte App(s) diff --git a/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf b/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf index e80a8d2..40352b6 100644 --- a/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf +++ b/conf/nginx/site-enabled_aether_fastapi_gunicorn.conf @@ -162,9 +162,9 @@ upstream fastapi_backend { # larger number will recieve more requests # Example of 20 vs 10: 20 will recieve twice as many requests as 10 server aether_api_gunicorn:5005 weight=20 max_fails=2 fail_timeout=30s; - # server aether_api_gunicorn_red:5005 weight=20 max_fails=2 fail_timeout=30s; - # server aether_api_gunicorn_green:5005 weight=20 max_fails=2 fail_timeout=30s; - # server aether_api_gunicorn_blue:5005 weight=20 max_fails=2 fail_timeout=30s; + server aether_api_gunicorn_red:5005 weight=20 max_fails=2 fail_timeout=30s; + server aether_api_gunicorn_green:5005 weight=20 max_fails=2 fail_timeout=30s; + server aether_api_gunicorn_blue:5005 weight=20 max_fails=2 fail_timeout=30s; # maintain up to 20 idle connections to the group of upstream servers # keepalive 20;