mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
set default timeout for SocketClient
This commit is contained in:
parent
5176ff715a
commit
c08225b007
1 changed files with 1 additions and 0 deletions
|
|
@ -469,6 +469,7 @@ impl Page {
|
|||
// Init socket
|
||||
let client = SocketClient::new();
|
||||
client.set_protocol(SocketProtocol::Tcp);
|
||||
client.set_timeout(10); // @TODO
|
||||
|
||||
// Return PEM string match request
|
||||
let certificate = match self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue