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

Method proc_on_init

lib_acl_cpp/samples/websocket/upload_server/master_service.cpp:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected