Skip to content

Commit

Permalink
fix: remove download record date
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliothmoon committed Feb 4, 2025
1 parent 774b6ba commit 3e27b61
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/kotlin/biz/cdkey.kt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,4 @@ private fun limit(cdk: String) {
val cnt = RDS.get().get(key).get()?.toIntOrNull() ?: 0
(cnt > Props.Extra.limitCount).throwIf("your account has reached the most downloads today")

if (cnt == 0) {
RDS.get().expire(key, Duration.ofDays(1))
}
}

0 comments on commit 3e27b61

Please sign in to comment.