MCPcopy Create free account
hub / github.com/acl-dev/acl / create_pool

Method create_pool

lib_acl_cpp/samples/connect_manager/connect_manager.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14acl::connect_pool* connect_manager::create_pool(const char* addr,
15 size_t max, size_t idx)
16{
17 acl::connect_pool* pool = new connect_pool(addr, max, idx);
18 pool->set_conns_min(min_conns_);
19 pool->set_idle_ttl(idle_ttl_);
20 return pool;
21}

Callers

nothing calls this directly

Calls 1

set_idle_ttlMethod · 0.80

Tested by

no test coverage detected