Skip to content

Commit 3509cfd

Browse files
committed
feat: timeout time changed
1 parent beb254b commit 3509cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ async fn create_endpoint(
356356
let endpoint = builder.bind().await?;
357357

358358
if !(common.relay == RelayModeOption::Disabled) {
359-
let _ = tokio::time::timeout(Duration::from_secs(30), async {
359+
let _ = tokio::time::timeout(Duration::from_secs(5), async {
360360
endpoint.online().await;
361361
}).await;
362362
};

0 commit comments

Comments
 (0)