From 2e0c364ac81706e3a8b16fec6a8249bd0102a287 Mon Sep 17 00:00:00 2001 From: alice <58637860+alicealys@users.noreply.github.com> Date: Mon, 27 Jul 2026 06:15:31 +0200 Subject: [PATCH] small change --- src/component/http.cpp | 2 +- src/component/mysql.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/http.cpp b/src/component/http.cpp index 304d8b3..f99f06b 100644 --- a/src/component/http.cpp +++ b/src/component/http.cpp @@ -111,7 +111,7 @@ namespace http { while (!task->completed) { - std::this_thread::sleep_for(1ms); + std::this_thread::sleep_for(10ms); } } diff --git a/src/component/mysql.cpp b/src/component/mysql.cpp index 55ed39a..e452ee6 100644 --- a/src/component/mysql.cpp +++ b/src/component/mysql.cpp @@ -237,7 +237,7 @@ namespace mysql { while (!task->completed) { - std::this_thread::sleep_for(1ms); + std::this_thread::sleep_for(10ms); } }