Skip to content

Commit 803e65a

Browse files
committed
fix: 스레드 작업 대기 시간 연장
1 parent b31951f commit 803e65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/land/leets/global/mail/MailProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void sendEmails(List<MailDto> mailDtos) {
3131

3232
executor.shutdown();
3333
try {
34-
if (!executor.awaitTermination(60, TimeUnit.SECONDS)) {
34+
if (!executor.awaitTermination(120, TimeUnit.SECONDS)) {
3535
executor.shutdownNow();
3636
}
3737
} catch (InterruptedException e) {

0 commit comments

Comments
 (0)