From 1e554e73277da506aa40960146bc381da5cd4b1b Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Fri, 24 May 2024 11:52:05 +0200
Subject: [PATCH] change ipns lifetimes

---
 src/indexer/ipns.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/indexer/ipns.ts b/src/indexer/ipns.ts
index 2aba41a..3840e70 100644
--- a/src/indexer/ipns.ts
+++ b/src/indexer/ipns.ts
@@ -26,6 +26,6 @@ export async function getSelfDdKeys(): Promise<DdKeys> {
 export const ddKeys = await getSelfDdKeys()
 
 // publish options
-export const DD_TAMT_HIST_OPT: NamePublishOptions = { key: DD_TAMT_HIST, ttl: '1m', lifetime: '1m' }
+export const DD_TAMT_HIST_OPT: NamePublishOptions = { key: DD_TAMT_HIST, ttl: '1m', lifetime: '12h' }
 export const DD_TAMT_OPT: NamePublishOptions = { key: DD_TAMT, ttl: '1m', lifetime: '24h' }
-export const DD_ROOT_OPT: NamePublishOptions = { key: DD_ROOT, ttl: '1h', lifetime: '24h' }
+export const DD_ROOT_OPT: NamePublishOptions = { key: DD_ROOT, ttl: '24h', lifetime: '72h' }
-- 
GitLab