aboutsummaryrefslogtreecommitdiff
path: root/caches/SQLiteCache.php
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2023-09-10 23:35:40 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-10 23:35:40 +0200
commit3178deb5a8ce979baf186b69e5a427bb14adef4f (patch)
tree667861522af832a2ce37e3f81ab656830ecb8e20 /caches/SQLiteCache.php
parent4b9f6f7e53e0b2e9aae59df2bbffc0bdd6805aea (diff)
downloadrss-bridge-3178deb5a8ce979baf186b69e5a427bb14adef4f.tar.gz
rss-bridge-3178deb5a8ce979baf186b69e5a427bb14adef4f.tar.zst
rss-bridge-3178deb5a8ce979baf186b69e5a427bb14adef4f.zip
fix: mastodon, cache tweaks, docs (#3661)
* cache tweaks * docs * fix(mastodon): type bug
Diffstat (limited to 'caches/SQLiteCache.php')
-rw-r--r--caches/SQLiteCache.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/caches/SQLiteCache.php b/caches/SQLiteCache.php
index beb33e88..09689566 100644
--- a/caches/SQLiteCache.php
+++ b/caches/SQLiteCache.php
@@ -2,6 +2,10 @@
declare(strict_types=1);
+/**
+ * The storage table has a column `updated` which is incorrectly named.
+ * It should have been named `expiration` and the code treats it as an expiration date (in unix timestamp)
+ */
class SQLiteCache implements CacheInterface
{
private \SQLite3 $db;