You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by jh...@apache.org on 2021/05/19 00:15:27 UTC

[trafficcontrol] branch master updated: Update the default TM write timeout to 20s (#5864)

This is an automated email from the ASF dual-hosted git repository.

jhg03a pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 14deb35  Update the default TM write timeout to 20s (#5864)
14deb35 is described below

commit 14deb35fcb4c969e48eebec737fedf9d7f390f0b
Author: Rawlin Peters <ra...@apache.org>
AuthorDate: Tue May 18 18:15:09 2021 -0600

    Update the default TM write timeout to 20s (#5864)
    
    On relatively large CDNs, TM can take longer than 10s to serve
    cache stats.
---
 CHANGELOG.md                                                   | 1 +
 infrastructure/ansible/roles/traffic-monitor/defaults/main.yml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 37ad2b8..e7ef4bd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -71,6 +71,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
 - Updated Traffic Ops supported database version from PostgreSQL 9.6 to 13.2
 - Set Traffic Router to also accept TLSv1.3 protocols by default in server.xml
 - Disabled TLSv1.1 for Traffic Router in Ansible role by default
+- Updated the Traffic Monitor Ansible role to set `serve_write_timeout_ms` to `20000` by default because 10 seconds can be too short for relatively large CDNs.
 - Refactored the Traffic Ops - Traffic Vault integration to more easily support the development of new Traffic Vault backends
 - Updated Apache Tomcat from 8.5.63 to 9.0.43
 - Delivery Service Requests now keep a record of the changes they make.
diff --git a/infrastructure/ansible/roles/traffic-monitor/defaults/main.yml b/infrastructure/ansible/roles/traffic-monitor/defaults/main.yml
index da7da69..c4d144b 100644
--- a/infrastructure/ansible/roles/traffic-monitor/defaults/main.yml
+++ b/infrastructure/ansible/roles/traffic-monitor/defaults/main.yml
@@ -41,7 +41,7 @@ tm_log_location_debug: "null"
 tm_log_location_event: "{{ tm_log_dir }}/event.log"
 tm_stat_flush_interval_ms: 20
 tm_serve_read_timeout_ms: 10000
-tm_serve_write_timeout_ms: 10000
+tm_serve_write_timeout_ms: 20000
 tm_http_poll_no_sleep: false
 tm_http_polling_format: "text/json"
 tm_to_min_retry_interval: 100