mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
fix
This commit is contained in:
@@ -6,9 +6,11 @@ include_directories(
|
||||
"../thirdparty/asio"
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=thread")
|
||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=thread")
|
||||
|
||||
add_executable(test_rest_rpc test_rest_rpc.cpp)
|
||||
|
||||
add_test(NAME ${project_name} COMMAND test_rest_rpc)
|
||||
#add_test(NAME test_rpc COMMAND test_rpc)
|
||||
|
||||
add_executable(bench bench.cpp)
|
||||
@@ -97,7 +97,7 @@ asio::awaitable<std::string> no_arg_coro1() {
|
||||
co_return "test";
|
||||
}
|
||||
|
||||
// TODO: client pool, pub/sub
|
||||
// TODO: client pool
|
||||
asio::awaitable<void> test_router() {
|
||||
rpc_router router;
|
||||
router.register_handler<add>();
|
||||
|
||||
Reference in New Issue
Block a user