Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit ef3e83d

Browse files
author
kahverengi
committed
Fix 24 hours session
1 parent 7ef6636 commit ef3e83d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/com/parnote/di/module/RouterModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class RouterModule(private val mVertx: Vertx) {
8282
router.route()
8383
.handler(BodyHandler.create())
8484
.handler(
85-
SessionHandler.create(LocalSessionStore.create(mVertx)).setSessionTimeout(60 * 60 * 24)
85+
SessionHandler.create(LocalSessionStore.create(mVertx)).setSessionTimeout(24 * 60 * 60 * 1000)
8686
) // 24 hours session timeout
8787
.handler(
8888
CorsHandler.create(".*.")

0 commit comments

Comments
 (0)