Apply suggestions from code review

Co-authored-by: Martin <github@diemattels.at>
This commit is contained in:
Christian Richter
2023-07-24 17:07:37 +02:00
committed by GitHub
co-authored by Martin
parent 1351f4937d
commit b6b7d67121
+1 -1
View File
@@ -36,7 +36,7 @@ type Config struct {
Context context.Context `yaml:"-"`
Status Status `yaml:"-"`
AllowPropfindDepthInfinity bool `yaml:"allow_propfind_depth_infinity" env:"OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY" desc:"Allow the use of depth infinity in PROPFINDS. Can cause heavy serverload"`
AllowPropfindDepthInfinity bool `yaml:"allow_propfind_depth_infinity" env:"OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY" desc:"Allow the use of depth infinity in PROPFINDS. When enabled, a propfind will traverse through all subfolders. If many subfolders are expected, depth infinity can cause heavy server load and/or delayed response times."`
}
type Tracing struct {