From ccc7d1cab2d29e117be187cb23a86f98ece38102 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Thu, 18 Nov 2021 16:20:22 -0500 Subject: [PATCH] 18308: reduce the default value for PreserveVersionIfIdle to 10s. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- doc/admin/collection-versioning.html.textile.liquid | 2 +- lib/config/config.default.yml | 2 +- lib/config/generated_config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/admin/collection-versioning.html.textile.liquid b/doc/admin/collection-versioning.html.textile.liquid index d33b9d2e2b..7b25f7b395 100644 --- a/doc/admin/collection-versioning.html.textile.liquid +++ b/doc/admin/collection-versioning.html.textile.liquid @@ -29,7 +29,7 @@ There are 2 configuration settings in the @Collections@ section of @config.yml@ # 0s = auto-create a new version on every update. # -1s = never auto-create new versions. # > 0s = auto-create a new version when older than the specified number of seconds. - PreserveVersionIfIdle: 30s + PreserveVersionIfIdle: 10s Note that if you set @CollectionVersioning@ to @false@ after being enabled, old versions will still be accessible, but further changes will not be versioned. diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index 04f0c81acc..51c59a8aac 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -502,7 +502,7 @@ Clusters: # 0s = auto-create a new version on every update. # -1s = never auto-create new versions. # > 0s = auto-create a new version when older than the specified number of seconds. - PreserveVersionIfIdle: 30s + PreserveVersionIfIdle: 10s # If non-empty, allow project and collection names to contain # the "/" character (slash/stroke/solidus), and replace "/" with diff --git a/lib/config/generated_config.go b/lib/config/generated_config.go index 11ee62a6ba..c10b12578f 100644 --- a/lib/config/generated_config.go +++ b/lib/config/generated_config.go @@ -508,7 +508,7 @@ Clusters: # 0s = auto-create a new version on every update. # -1s = never auto-create new versions. # > 0s = auto-create a new version when older than the specified number of seconds. - PreserveVersionIfIdle: 30s + PreserveVersionIfIdle: 10s # If non-empty, allow project and collection names to contain # the "/" character (slash/stroke/solidus), and replace "/" with -- 2.30.2