From ed2c4a872dbddd2eaa13b280543ffabb0d197851 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Sat, 25 Sep 2021 09:00:38 +0300

Subject: [PATCH 1/1] Visited: Remember URLs for 6 months (previously 2)

This affects link/entry unread status, and how long feed entries are kept in the cache.


src/visited.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/visited.c b/src/visited.c

index 94cff492..e9f691c6 100644

--- a/src/visited.c

+++ b/src/visited.c

@@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */

#include <the_Foundation/ptrarray.h>

#include <the_Foundation/sortedarray.h>

-const int maxAge_Visited = 2 * 3600 * 24 * 30; /* two months */

+const int maxAge_Visited = 6 * 3600 * 24 * 30; /* six months */

void init_VisitedUrl(iVisitedUrl *d) {

 initCurrent_Time(&d->when);

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/patch/ed2c4a872dbddd2eaa13b280543ffabb0d197851.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
26.871431 milliseconds
Gemini-to-HTML Time
0.351907 milliseconds

This content has been proxied by September (3851b).