【修改】更新单元测试
This commit is contained in:
@@ -14,6 +14,7 @@ struct stellar
|
||||
{
|
||||
struct plugin_manager_schema *plug_mgr;
|
||||
struct lua_plugin_manage_schema * lua_plug_mgr;
|
||||
int thread_num;
|
||||
};
|
||||
|
||||
struct packet
|
||||
@@ -40,8 +41,6 @@ enum session_type session_get_type(struct session *sess)
|
||||
return sess->type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int session_get_current_plugin_id(struct session *sess)
|
||||
{
|
||||
return sess->plug_mgr_rt->current_session_plugin_id;
|
||||
@@ -67,7 +66,7 @@ int session_get_current_thread_id(struct session *sess)
|
||||
|
||||
int stellar_get_worker_thread_num(struct stellar *st)
|
||||
{
|
||||
return 16;
|
||||
return st->thread_num;
|
||||
}
|
||||
|
||||
int stellar_get_current_thread_id(struct stellar *st)
|
||||
|
||||
Reference in New Issue
Block a user