mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-11 17:28:55 +00:00
tor: fix send timeout
This commit is contained in:
+1
-1
@@ -323,7 +323,7 @@ impl Tor {
|
||||
.block_on(async move {
|
||||
let res = c
|
||||
.runtime()
|
||||
.timeout(Duration::from_millis(600000), async {
|
||||
.timeout(Duration::from_millis(60000), async {
|
||||
if let Ok(stream) = c
|
||||
.connect((uri.host().unwrap(), uri.port_u16().unwrap_or(80)))
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user