From 057ba05a80ba73bfbb0ebab1e987e513102afaa3 Mon Sep 17 00:00:00 2001 From: Ashraf Fouda Date: Mon, 30 Mar 2026 11:35:39 +0200 Subject: [PATCH] reduce ttl for peer to 1h Signed-off-by: Ashraf Fouda --- cmds/modules/api_gateway/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/modules/api_gateway/main.go b/cmds/modules/api_gateway/main.go index d512e0fab..61df35e90 100644 --- a/cmds/modules/api_gateway/main.go +++ b/cmds/modules/api_gateway/main.go @@ -189,7 +189,7 @@ func action(cli *cli.Context) error { router.Serve, peer.WithKeyType(peer.KeyTypeEd25519), peer.WithRelay(updatedRelayURLs...), - peer.WithInMemoryExpiration(6*60*60), // 6 hours + peer.WithInMemoryExpiration(6*60), // 1 hours ) if err != nil { if cancel != nil {