mirror of
https://github.com/boostorg/redis.git
synced 2026-01-19 04:42:09 +00:00
Pass the adapter directly to async_exec.
This commit is contained in:
@@ -46,8 +46,8 @@ int main()
|
||||
auto const res = resv.resolve("127.0.0.1", "55555");
|
||||
auto ep = *std::begin(res);
|
||||
|
||||
int n = 100;
|
||||
for (int i = 0; i < 100; ++i)
|
||||
int n = 10000;
|
||||
for (int i = 0; i < 500; ++i)
|
||||
net::co_spawn(ioc, example(ep, "Some message\n", n), net::detached);
|
||||
|
||||
ioc.run();
|
||||
|
||||
Reference in New Issue
Block a user