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

Method proc_on_init

lib_acl_cpp/samples/websocket/demo/master_service.cpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected