Skip to content

Commit

Permalink
feat: cut requests by configured time (MAPCO-3776) (#60)
Browse files Browse the repository at this point in the history
* chore: cut requests by configured time

* chore: updating chart version to 1.6.0
  • Loading branch information
almog8k authored Mar 18, 2024
1 parent 4a118d1 commit 3d388b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: mapproxy
description: A Helm chart for mapproxy service
type: application
version: 1.5.9
appVersion: 1.5.9
version: 1.6.0
appVersion: 1.6.0
dependencies:
- name: nginx
version: 1.1.0
Expand Down
3 changes: 3 additions & 0 deletions helm/config/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ server {
client_header_buffer_size 12288; # 12K
large_client_header_buffers 4 12288; # 12K
fastcgi_read_timeout 300;
uwsgi_read_timeout {{ .Values.mapproxy.uwsgi.timeoutSeconds }};
uwsgi_send_timeout {{ .Values.mapproxy.uwsgi.timeoutSeconds }};
uwsgi_connect_timeout {{ .Values.mapproxy.uwsgi.timeoutSeconds }};
location /liveness {
access_log off;
log_not_found off;
Expand Down
2 changes: 1 addition & 1 deletion helm/config/mapProxyUwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ reload-on-rss = 2048 ; Restart workers after this much resident
buffer-size = 14336 ; 14K, Set the internal buffer size for uwsgi packet parsing. Default is 4k.
worker-reload-mercy = 60 ; How long to wait before forcefully killing workers
wsgi-disable-file-wrapper = true
harakiri = 60
harakiri = {{ .Values.mapproxy.uwsgi.timeoutSeconds }}
py-callos-afterfork = true ; allow workers to trap signals
; TODO: using default usgi config untill we figure out the best configuration
; cheaper-algo = busyness
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ mapproxy:
processes: 6
threads: 10
disableLogging: true
timeoutSeconds: 8
statsServer:
stats: 1717
statsMinify: true
Expand Down

0 comments on commit 3d388b1

Please sign in to comment.