save works

This commit is contained in:
Rongsong Shen 2026-03-05 16:03:37 +08:00
parent 3f74f14687
commit 47fc32b02c
6 changed files with 155 additions and 25 deletions

View file

@ -65,7 +65,7 @@ worker_t* get_ep_worker(cluster_t* c, endpoint_t* ep)
}
lock(c->workermgr, RTTI_LOCK_READ);
rc = key_find(c->workermgr, (void*)idx, (void**)&w);
rc = vget(c->workermgr, idx, (void**)&w);
if (w != NULL) {
reference(w);
}