🦄 refactor(module manager): rename polling API

This commit is contained in:
yangwei
2024-11-25 19:23:01 +08:00
parent ef5a65155b
commit 73a8402a09
7 changed files with 33 additions and 46 deletions

View File

@@ -497,7 +497,7 @@ struct module *session_manager_on_init(struct module_manager *mod_mgr)
{
return NULL;
}
module_manager_polling_subscribe(mod_mgr, on_polling, sess_mgr);
module_manager_register_polling_node(mod_mgr, on_polling, sess_mgr);
struct module *sess_mgr_mod = module_new(SESSION_MANAGER_MODULE_NAME, NULL);
if (sess_mgr_mod == NULL)