Skip to content

Commit 46bb083

Browse files
notdryftslandelle
authored andcommitted
chore: set session timeout to 1m
Motivation: - Default timeout duration is 30m, that way too long Modification: - Push it down to 1m Result: - Less likely to get oom killed under load
1 parent 63d1d59 commit 46bb083

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/resources/application.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ spring.thymeleaf.enabled=true
2525
server.error.whitelabel.enabled=false
2626

2727
jwt.secret=wToGV5RiWAU4UNQHJPVBXISBPNJ5C8yoiqbTRu5fXjM=
28+
29+
server.servlet.session.timeout=1m

0 commit comments

Comments
 (0)