Skip to content

Commit

Permalink
Increase delay in examples to avoid failures on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Smertig committed May 8, 2024
1 parent 8fc1414 commit a8c6999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/examples_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ inline std::tuple<std::string, std::string, std::string, std::string> parse_inpu
}
message_text += "!";

// Hack to make sure each example has 1 second delay before calling telegram API
std::this_thread::sleep_for(std::chrono::seconds(1));
// Hack to make sure each example has delay before calling telegram API
std::this_thread::sleep_for(std::chrono::milliseconds(2000));

return { token, target, std::move(example_name), std::move(message_text) };
}

0 comments on commit a8c6999

Please sign in to comment.