accounting: add limits and listing to stats groups

This commit is contained in:
Aleksandar Jankovic
2019-07-28 14:48:19 +01:00
committed by Nick Craig-Wood
parent 53a1a0e3ef
commit 68e641f6cf
3 changed files with 55 additions and 10 deletions
+2
View File
@@ -88,6 +88,7 @@ type ConfigInfo struct {
UseServerModTime bool
MaxTransfer SizeSuffix
MaxBacklog int
MaxStatsGroups int
StatsOneLine bool
StatsOneLineDate bool // If we want a date prefix at all
StatsOneLineDateFormat string // If we want to customize the prefix
@@ -125,6 +126,7 @@ func NewConfig() *ConfigInfo {
c.BufferSize = SizeSuffix(16 << 20)
c.UserAgent = "rclone/" + Version
c.StreamingUploadCutoff = SizeSuffix(100 * 1024)
c.MaxStatsGroups = 1000
c.StatsFileNameLength = 45
c.AskPassword = true
c.TPSLimitBurst = 1