mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 01:33:02 +00:00
udp/client: Reduce testing period to 5 seconds
This commit is contained in:
parent
64e174237e
commit
8ead176639
|
@ -344,7 +344,7 @@ void TestCommunication(const std::string& host, u16 port, std::size_t pad_index,
|
|||
};
|
||||
Socket socket{host, port, pad_index, client_id, std::move(callback)};
|
||||
std::thread worker_thread{SocketLoop, &socket};
|
||||
const bool result = success_event.WaitFor(std::chrono::seconds(8));
|
||||
const bool result = success_event.WaitFor(std::chrono::seconds(5));
|
||||
socket.Stop();
|
||||
worker_thread.join();
|
||||
if (result) {
|
||||
|
|
Loading…
Reference in a new issue