File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ After=network.target
66Environment=LC_ALL=en_US.UTF-8
77Environment=LANG=en_US.UTF-8
88WorkingDirectory=/srv/codespeed/{{ instance }}/src
9- ExecStart=/srv/codespeed/{{ instance }}/env/bin/gunicorn {{ wsgi_app }} -w 4 --bind unix:///var/run/codespeed/{{ instance }}.sock
9+ ExecStart=/srv/codespeed/{{ instance }}/env/bin/gunicorn {{ wsgi_app }} -w 4 --timeout 300 -- bind unix:///var/run/codespeed/{{ instance }}.sock
1010ExecReload=/bin/kill -HUP $MAINPID
1111ExecStop = /bin/kill -s TERM $MAINPID
1212Restart=on-failure
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ server {
3333 proxy_set_header Host $http_host;
3434 proxy_redirect off;
3535
36+ # Result uploads insert thousands of rows and run well past the 60s default
37+ proxy_read_timeout 300s;
38+ proxy_send_timeout 300s;
39+
3640 if (!-f $request_filename) {
3741 proxy_pass http://codespeed-{{ instance }};
3842 break;
You can’t perform that action at this time.
0 commit comments