From 68f21da53b2b88fafc5301cdf0e6fe1595be7380 Mon Sep 17 00:00:00 2001 From: christian Date: Wed, 6 Oct 2021 21:36:39 +0200 Subject: [PATCH] increased deletion amount --- ArtificialAutism/src/main/java/DataLayer/DataMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArtificialAutism/src/main/java/DataLayer/DataMapper.java b/ArtificialAutism/src/main/java/DataLayer/DataMapper.java index 46b0a258..ae34505f 100644 --- a/ArtificialAutism/src/main/java/DataLayer/DataMapper.java +++ b/ArtificialAutism/src/main/java/DataLayer/DataMapper.java @@ -85,7 +85,7 @@ public class DataMapper { Connection l_cCon = null; PreparedStatement l_pStatement = null; ResultSet l_rsSearch = null; - String l_sSQL = "delete from Sentences where last_used < NOW() - INTERVAL 4 WEEK LIMIT 25"; + String l_sSQL = "delete from Sentences where last_used < NOW() - INTERVAL 4 WEEK LIMIT 55"; try { l_cCon = DBCPDataSource.getConnection(); l_pStatement = l_cCon.prepareStatement(l_sSQL);