From a8c6999a64150ad8e232d7f7da0af4ddffbe6332 Mon Sep 17 00:00:00 2001 From: Smertig Date: Wed, 8 May 2024 19:06:18 +0300 Subject: [PATCH] Increase delay in examples to avoid failures on CI --- examples/examples_util.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/examples_util.hpp b/examples/examples_util.hpp index bfdb6e93f..579019b68 100644 --- a/examples/examples_util.hpp +++ b/examples/examples_util.hpp @@ -33,8 +33,8 @@ inline std::tuple 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) }; }