From 2550c1ac3f1469dee40ab0363beafe8aec9113fe Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Fri, 5 Dec 2025 19:44:36 +0100 Subject: [PATCH] fix: set 5-minute TTL for chat services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Services were expiring after 60 seconds (default offer TTL). Set TTL to 300000ms (5 minutes) so chat services stay discoverable while users have the page open. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/App.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.jsx b/src/App.jsx index 97bd3f8..0afe9f4 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -179,6 +179,7 @@ export default function App() { privateKey: keypair.privateKey, serviceFqn: 'chat.rondevu@1.0.0', isPublic: true, + ttl: 300000, // 5 minutes - service stays alive while page is open poolSize: 10, // Support up to 10 simultaneous connections rtcConfig: RTC_CONFIG, handler: (channel, peer, connectionId) => {