Skip to content

Commit

Permalink
fix: timeout 30분으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
songyi00 committed Jul 27, 2024
1 parent 84076c4 commit c921b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/nexters/goalpanzi/common/util/Nonce.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static boolean isValid(String target) {

private static boolean isIssuedInThreeMinutes(long nonceTime) {
var currentTime = new Date().getTime();
var threeMinutesInMillis = 3 * 60 * 1000;
var threeMinutesInMillis = 30 * 60 * 1000; // 30분 = 30 * 60 * 1000 밀리초
return currentTime - nonceTime <= threeMinutesInMillis;
}

Expand Down

0 comments on commit c921b05

Please sign in to comment.