This commit is contained in:
biglyderv 2025-02-08 00:20:22 -05:00
parent 2386ea44a2
commit 695f55dbc2
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
4 changed files with 154 additions and 240 deletions

View file

@ -26,7 +26,7 @@ public class ServHandler implements HttpHandler {
PreparedStatement stmt;
JSONArray outObject = new JSONArray();
try {
stmt = cc.prepareStatement("SELECT * FROM main.text ORDER BY date DESC");
stmt = cc.prepareStatement("SELECT * FROM main.text ORDER BY date DESC LIMIT 100");
ResultSet rs = stmt.executeQuery();
while (rs.next()) {
JSONObject mainObject = new JSONObject();