Skip to content

Commit 057ba05

Browse files
committed
reduce ttl for peer to 1h
Signed-off-by: Ashraf Fouda <ashraf.m.fouda@gmail.com>
1 parent bdd7987 commit 057ba05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmds/modules/api_gateway/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func action(cli *cli.Context) error {
189189
router.Serve,
190190
peer.WithKeyType(peer.KeyTypeEd25519),
191191
peer.WithRelay(updatedRelayURLs...),
192-
peer.WithInMemoryExpiration(6*60*60), // 6 hours
192+
peer.WithInMemoryExpiration(6*60), // 1 hours
193193
)
194194
if err != nil {
195195
if cancel != nil {

0 commit comments

Comments
 (0)