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

Method proc_on_init

lib_acl_cpp/samples/http/webSocketServlet/master_service.cpp:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void master_service::proc_on_init()
108{
109 // ���� redis ��Ⱥ�ͻ��˶��󣬲�ʹ�� redis ��Ⱥ���洢 session
110 session_server = new acl::redis_client_cluster;
111 session_server->init(NULL, var_cfg_redis_servers, var_cfg_max_threads);
112}
113
114bool master_service::proc_exit_timer(size_t nclients, size_t nthreads)
115{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected