Skip to content

Commit 517ee87

Browse files
author
Aaron Meihm
committed
increase entry expiry time to 14 days
1 parent d3e4263 commit 517ee87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iprepd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func baseTest() error {
4646
if err != nil {
4747
return err
4848
}
49-
err = sruntime.redis.set(r.IP, buf, time.Hour*24).Err()
49+
err = sruntime.redis.set(r.IP, buf, time.Hour*336).Err()
5050
if err != nil {
5151
return err
5252
}

score.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (r *Reputation) set() error {
8383
if err != nil {
8484
return err
8585
}
86-
return sruntime.redis.set(key, buf, time.Hour*24).Err()
86+
return sruntime.redis.set(key, buf, time.Hour*336).Err()
8787
}
8888

8989
func (r *Reputation) applyViolation(v string) (found bool, err error) {

0 commit comments

Comments
 (0)