From 814aaad260f8c285c2d9ba374025605297e97cb6 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 21 Nov 2024 16:25:29 -0800 Subject: [PATCH] fixup! feat: begone memory map --- queries/records/get_and_update.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/records/get_and_update.sql b/queries/records/get_and_update.sql index e8803fc..0626938 100644 --- a/queries/records/get_and_update.sql +++ b/queries/records/get_and_update.sql @@ -3,4 +3,4 @@ SET downloads = downloads + 1 WHERE cache_name = ? AND downloads < max_downloads - AND julianday('now') - julianday(uploaded) > 5; + AND julianday('now') - julianday(uploaded) < 5;