mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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 055dffaa71)
This commit is contained in:
@@ -4280,7 +4280,7 @@ Metric.Enable = 0
|
||||
# Default: 10 seconds
|
||||
#
|
||||
|
||||
Metric.Interval = 10
|
||||
Metric.Interval = 1
|
||||
|
||||
#
|
||||
# Metric.ConnectionInfo
|
||||
|
||||
Reference in New Issue
Block a user