Skip to content

Commit 67b5191

Browse files
committed
Increased timeout of client as the discovery of peers takes some time
Signed-off-by: Robert Gogete <gogeterobert@yahoo.com>
1 parent 4084e5b commit 67b5191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/test-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function startClient() {
99
const client = new FileClient({
1010
peers: ['http://nostalgiagame.go.ro:30878/gun'], // Connect to deployed relay
1111
namespace: 'dig-nat-tools-test', // Use same namespace as host
12-
timeout: 30000 // 30 second timeout
12+
timeout: 300000 // 5 minute timeout (300 seconds)
1313
});
1414

1515
try {

0 commit comments

Comments
 (0)