Skip to content

Commit

Permalink
Merge branch 'main' of github.com:germanoeich/nirn-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
germanoeich committed Nov 4, 2021
2 parents 54791c2 + c655549 commit b11b3b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bucketpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ func GetOptimisticBucketPath(url string, method string) string {
createdAt, _ := GetSnowflakeCreatedAt(part)
if createdAt.Before(time.Now().Add(-1 * 14 * 24 * time.Hour)) {
bucket += "/!14dmsg"
} else if createdAt.After(time.Now().Add(-1 * 10 * time.Second)) {
bucket += "/!10smsg"
}
continue
}
Expand Down

0 comments on commit b11b3b0

Please sign in to comment.