Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion salt/codespeed/config/codespeed.service.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
Environment=LC_ALL=en_US.UTF-8
Environment=LANG=en_US.UTF-8
WorkingDirectory=/srv/codespeed/{{ instance }}/src
ExecStart=/srv/codespeed/{{ instance }}/env/bin/gunicorn {{ wsgi_app }} -w 4 --bind unix:///var/run/codespeed/{{ instance }}.sock
ExecStart=/srv/codespeed/{{ instance }}/env/bin/gunicorn {{ wsgi_app }} -w 4 --timeout 300 --bind unix:///var/run/codespeed/{{ instance }}.sock
ExecReload=/bin/kill -HUP $MAINPID
ExecStop = /bin/kill -s TERM $MAINPID
Restart=on-failure
Expand Down
4 changes: 4 additions & 0 deletions salt/codespeed/config/nginx.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ server {
proxy_set_header Host $http_host;
proxy_redirect off;

# Result uploads insert thousands of rows and run well past the 60s default
proxy_read_timeout 300s;
proxy_send_timeout 300s;

if (!-f $request_filename) {
proxy_pass http://codespeed-{{ instance }};
break;
Expand Down
Loading