From 2088ca9b3a7834ec17571e00e201f4e7dca27a2f Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 23 Apr 2024 14:34:42 +0100 Subject: [PATCH] Work around OSError during large transfers Change-Id: I8c802bfb64f5c262a8259fa7b14a79251c010d9f --- templates/uwsgi.ini.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/uwsgi.ini.j2 b/templates/uwsgi.ini.j2 index 0ec9810..889ee94 100644 --- a/templates/uwsgi.ini.j2 +++ b/templates/uwsgi.ini.j2 @@ -47,3 +47,7 @@ safe-pidfile = {{ uwsgi_run_dir }}/{{ item.key }}/{{ uwsgi_system_slice_name }}/ log-x-forwarded-for = true # Avoid filling up the logs with health check requests from haproxy. route-user-agent = ^osa-haproxy-healthcheck$ donotlog: + +ignore-sigpipe = true +ignore-write-errors = true +disable-write-exception = true