Skip to content

Commit f069c85

Browse files
committed
fix(grid): switch session expiry to 1 week
1 parent 5c6ca4f commit f069c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/grid/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async fn main() -> Result<()> {
9292
let session_layer = tower_sessions::SessionManagerLayer::new(
9393
CachingSessionStore::new(MemoryStore::default(), app_state.session_store),
9494
)
95-
.with_expiry(tower_sessions::Expiry::OnInactivity(Duration::hours(1)))
95+
.with_expiry(tower_sessions::Expiry::OnInactivity(Duration::weeks(1)))
9696
.with_secure(!args.no_secure_cookies);
9797
let auth_layer =
9898
AuthManagerLayerBuilder::new(app_state.auth_domain, session_layer).build();

0 commit comments

Comments
 (0)