diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-15 13:11:51 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-15 13:11:51 +0100 |
commit | c3c914828a4db958893aaf307cc79d9aaf970431 (patch) | |
tree | 0242ebec7d873f8185217bea3b4e02bfd3536fda /modules/io | |
parent | 7dc6c28f72893dd428a4b5b39a34c5c6b85965a2 (diff) |
async, io: Fixing async tests for io
Diffstat (limited to 'modules/io')
-rw-r--r-- | modules/io/examples/echo_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/io/examples/echo_server.cpp b/modules/io/examples/echo_server.cpp index 24bdfa2..a158368 100644 --- a/modules/io/examples/echo_server.cpp +++ b/modules/io/examples/echo_server.cpp @@ -84,8 +84,9 @@ int main(){ std::cout<<"Entering waiting loop"<<std::endl; + wait_scope.poll(); while(keep_running){ - wait_scope.wait(std::chrono::seconds{1}); + wait_scope.wait(std::chrono::seconds{60}); } std::cout<<"\n\nShutting down echo server"<<std::endl; |