Increase session ping time to 10 minutes

This commit is contained in:
Adam
2018-12-09 20:59:11 -05:00
parent 2f122e19df
commit e3c84db8aa
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public class SessionService
{
try (Connection con = sql2o.open())
{
con.createQuery("delete from session where last + interval 5 minute < current_timestamp()")
con.createQuery("delete from session where last + interval 11 minute < current_timestamp()")
.executeUpdate();
}
}