Подготовка интеграционного теста

This commit is contained in:
Антон
2025-10-07 10:59:06 +03:00
parent 5fcad355d1
commit 38a8d5effd
6 changed files with 12 additions and 126 deletions
+3 -5
View File
@@ -1,10 +1,9 @@
#include <boost/log/trivial.hpp>
#ifdef WIN32
#include <sdkddkver.h>
#endif
#include <boost/log/trivial.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <boost/log/utility/setup/common_attributes.hpp>
#include <algorithm>
#include <boost/asio/signal_set.hpp>
#include <boost/beast/core.hpp>
@@ -52,7 +51,6 @@ int main(int argc, char* argv[])
InitLogs();
// Добавление общих атрибутов (включая время)
logging::add_common_attributes();
uad::SetMySqlSession(new mysqlx::Session(mysql_credentials));
@@ -63,7 +61,7 @@ int main(int argc, char* argv[])
net::signal_set signals(ioc, SIGINT, SIGTERM);
signals.async_wait([&](beast::error_code const&, int) { ioc.stop(); });
BOOST_LOG_TRIVIAL(info) << "Приложение запущено";
BOOST_LOG_TRIVIAL(info) << "Приложение запущено2";
std::vector<std::thread> v;
v.reserve(threads - 1);