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

Method proc_on_init

lib_acl_cpp/samples/http/http_servlet/master_service.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected