aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2022-04-10 16:58:34 +0200
committerShauren <shauren.trinity@gmail.com>2022-06-10 16:22:24 +0200
commit7d9483cfe4efbbda54fcda2a813f98035600bb9a (patch)
tree843095b8b2b6b74772388e78d0d1076865c1741b
parent88e42e3dc13924348e0c8d794b8b6cb849c1ee84 (diff)
Core/Metric: Send metrics in smaller intervals
Send metrics in smaller intervals to reduce the chances of triggering HTTP status "413 Payload Too Large" from InfluxDB. Another way to avoid this is to set max-body-size to 0 in InfluxDB config. For more information see https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-body-size--25000000 (cherry picked from commit 055dffaa7129b22f37d9afec4ab68e03a4f8a71f)
-rw-r--r--src/server/worldserver/worldserver.conf.dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist
index 1684685d0e1..280db1d61ab 100644
--- a/src/server/worldserver/worldserver.conf.dist
+++ b/src/server/worldserver/worldserver.conf.dist
@@ -4280,7 +4280,7 @@ Metric.Enable = 0
# Default: 10 seconds
#
-Metric.Interval = 10
+Metric.Interval = 1
#
# Metric.ConnectionInfo