1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-04-14 02:48:48 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Dag
4b9f6f7e53
fix: rewrite and improve caching () 2023-09-10 21:50:15 +02:00
Dag
6254b8593e
refactor(cache): extract and encapsulate cache expiration logic ()
* refactor(cache): extract and encapsulate cache expiration logic

* fix: logic bug in getSimpleHTMLDOMCached

* fix: silly me, index should of course be on the key column

* silly me again, PRIMARY keys get index by default lol

* comment out the delete portion in loadData

* remove a few log statements

* tweak twitter cache timeout
2023-07-19 05:05:49 +02:00
Dag
caac7f572c
refacor: improve cache interface ()
* fix: proper typehint on setScope

* refactor: type hint setKey()

* typehint
2023-07-06 15:10:30 +02:00
Dag
a9fd3b9e61
fix(CacheInterface): logic bug in getTime ()
* fix(CacheInterface): logic bug in getTime

* test
2023-07-05 17:37:21 +02:00
Dag
c27a300e02
test: add failing mastodon test ()
* fix: refactor cache factory

* test: add failing test

* add null cache
2023-02-15 21:22:37 +01:00