Skip to content

Commit 2881f79

Browse files
author
Aaron Meihm
committed
increase max recovery suppression time
1 parent 517ee87 commit 2881f79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ to decay back to 100. If this setting is not included, the reputation will begin
102102
immediately. If the violation is being applied to an existing entry, the `suppress_recovery` field
103103
will only be applied if the existing entry has no current recovery suppression, or the specified
104104
recovery suppression time frame would result in a time in the future beyond which the entry
105-
currently has. If `suppress_recovery` is included it must be less than `259200` (72 hours).
105+
currently has. If `suppress_recovery` is included it must be less than `1209600` (14 days).
106106

107107
##### Request body
108108

http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (v *ViolationRequest) Validate() error {
6464
if v.Type == "" {
6565
return fmt.Errorf("violation request missing required field type")
6666
}
67-
if v.SuppressRecovery > 259200 {
67+
if v.SuppressRecovery > 1209600 {
6868
return fmt.Errorf("invalid suppress recovery value %v", v.SuppressRecovery)
6969
}
7070
return nil

0 commit comments

Comments
 (0)