diff options
| author | chrislu <chris.lu@gmail.com> | 2025-08-18 08:38:45 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-08-18 08:38:45 -0700 |
| commit | e19940abca57be96f644b0859e02d9ff943aebca (patch) | |
| tree | 1d91e9772a98a693a423d0fad51fcb64b668ed2f | |
| parent | 03c0b370861f1142343143058b2a1b3797790007 (diff) | |
| download | seaweedfs-e19940abca57be96f644b0859e02d9ff943aebca.tar.xz seaweedfs-e19940abca57be96f644b0859e02d9ff943aebca.zip | |
Update config.go
| -rw-r--r-- | weed/worker/tasks/ec_vacuum/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/worker/tasks/ec_vacuum/config.go b/weed/worker/tasks/ec_vacuum/config.go index 5fdaff444..704fcdecf 100644 --- a/weed/worker/tasks/ec_vacuum/config.go +++ b/weed/worker/tasks/ec_vacuum/config.go @@ -86,12 +86,12 @@ func GetConfigSpec() base.ConfigSpec { JSONName: "deletion_threshold", Type: config.FieldTypeFloat, DefaultValue: 0.3, - MinValue: 0.1, - MaxValue: 0.8, + MinValue: 0.0, // No minimum limit - allows any value including 0 + MaxValue: 1.0, // Allow up to 100% Required: true, DisplayName: "Deletion Threshold", Description: "Minimum ratio of deletions to trigger vacuum", - HelpText: "EC volumes with this ratio of deleted content will be vacuumed", + HelpText: "EC volumes with this ratio of deleted content will be vacuumed (0.0 = any deletions, 1.0 = 100% deleted)", Placeholder: "0.3 (30%)", Unit: config.UnitNone, InputType: "number", |
