aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--captain/db.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/captain/db.f90 b/captain/db.f90
index 7ee0515..389e19e 100644
--- a/captain/db.f90
+++ b/captain/db.f90
@@ -1716,7 +1716,7 @@ contains
session_expired_db = .true.
! Statement should return the count of sessions that _has not_ expired!
- if(stmt%prepare(db, "SELECT COUNT(*) FROM sessions WHERE accessed > datetime('now', '-30 minutes') AND session=?") &
+ if(stmt%prepare(db, "SELECT COUNT(*) FROM sessions WHERE accessed > datetime('now', '-1 day') AND session=?") &
== SQLITE_OK) &
then