mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
accounting: add limits and listing to stats groups
This commit is contained in:
committed by
Nick Craig-Wood
parent
53a1a0e3ef
commit
68e641f6cf
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user