Skip to content

Commit

Permalink
reduce timeouts in example execution
Browse files Browse the repository at this point in the history
  • Loading branch information
picanumber committed Jun 28, 2022
1 parent 484ff15 commit 4889d50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/basic/use_non_copyable_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ int main()
auto pl = yap::Pipeline{} | generator | transform | sink;
pl.run();

std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(10));
std::cout << "Pausing\n";
pl.pause();
std::cout << "Paused\n";

std::this_thread::sleep_for(std::chrono::milliseconds(500));
std::this_thread::sleep_for(std::chrono::milliseconds(5));
std::cout << "Resuming\n";
pl.run();

std::this_thread::sleep_for(std::chrono::milliseconds(500));
std::this_thread::sleep_for(std::chrono::milliseconds(5));
std::cout << "Stopping\n";
pl.stop();
std::cout << "Stopped\n";
Expand Down

0 comments on commit 4889d50

Please sign in to comment.