Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
w-ensink committed Dec 13, 2024
1 parent 0c63112 commit 394a3dc
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,7 @@ protected synchronized long nextTryPhone(String phone, long now) {
limitToRedis(jedis, key, limit);
}
}
//
// Limit limit = phoneLimits.get(phone);
// if (limit == null) {
// limit = new Limit(now);
// phoneLimits.put(phone, limit);
// }

long nextTry; // timestamp when the next request is allowed
switch (limit.tries) {
case 0: // try 1: always succeeds
Expand Down

0 comments on commit 394a3dc

Please sign in to comment.