Przeglądaj źródła

fix(www): adjust max_conns to api (adhere to comment in line before)

Peter Thomassen 5 lat temu
rodzic
commit
f560300824
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      www/conf/nginx.conf

+ 1 - 1
www/conf/nginx.conf

@@ -52,7 +52,7 @@ http {
     upstream desecapi {
     upstream desecapi {
         # we allow as many connections as the api has worker threads.
         # we allow as many connections as the api has worker threads.
         # see https://github.com/desec-io/desec-stack/blob/4c6e9a7beea9446b039d64bd05608a2a8b67dbda/api/uwsgi.ini#L5-L6
         # see https://github.com/desec-io/desec-stack/blob/4c6e9a7beea9446b039d64bd05608a2a8b67dbda/api/uwsgi.ini#L5-L6
-        server api:3031 max_conns=256;
+        server api:3031 max_conns=64;
     }
     }