diff options
| author | 2020-09-28 04:53:21 -0400 | |
|---|---|---|
| committer | 2020-11-15 23:33:19 -0500 | |
| commit | 8ead176639be482fb26c2eb3f95fc942e52efee0 (patch) | |
| tree | 293e0c7e0feda9e2a426d85e2dfa8bb422c11e24 /src | |
| parent | config: Migrate config files into config/custom (diff) | |
| download | yuzu-8ead176639be482fb26c2eb3f95fc942e52efee0.tar.gz yuzu-8ead176639be482fb26c2eb3f95fc942e52efee0.tar.xz yuzu-8ead176639be482fb26c2eb3f95fc942e52efee0.zip | |
udp/client: Reduce testing period to 5 seconds
Diffstat (limited to 'src')
| -rw-r--r-- | src/input_common/udp/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/udp/client.cpp b/src/input_common/udp/client.cpp index 7039d6fc3..3677e79ca 100644 --- a/src/input_common/udp/client.cpp +++ b/src/input_common/udp/client.cpp | |||
| @@ -344,7 +344,7 @@ void TestCommunication(const std::string& host, u16 port, std::size_t pad_index, | |||
| 344 | }; | 344 | }; |
| 345 | Socket socket{host, port, pad_index, client_id, std::move(callback)}; | 345 | Socket socket{host, port, pad_index, client_id, std::move(callback)}; |
| 346 | std::thread worker_thread{SocketLoop, &socket}; | 346 | std::thread worker_thread{SocketLoop, &socket}; |
| 347 | const bool result = success_event.WaitFor(std::chrono::seconds(8)); | 347 | const bool result = success_event.WaitFor(std::chrono::seconds(5)); |
| 348 | socket.Stop(); | 348 | socket.Stop(); |
| 349 | worker_thread.join(); | 349 | worker_thread.join(); |
| 350 | if (result) { | 350 | if (result) { |