Skip to content

Commit

Permalink
correctly propagate handler pool from bedrock
Browse files Browse the repository at this point in the history
  • Loading branch information
carns committed Nov 1, 2022
1 parent fe72bbc commit 5dfabfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bake-bedrock-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ static int bake_register_provider(bedrock_args_t args,
BAKE_TRACE(mid, " -> remi_client = %p", bpargs.remi_client);

bpargs.json_config = config;
bpargs.rpc_pool = pool;
ret = bake_provider_register(mid, provider_id, &bpargs,
(bake_provider_t*)provider);
(bake_provider_t*)provider);
if (ret < 0) return (-1);

return BEDROCK_SUCCESS;
Expand Down
1 change: 1 addition & 0 deletions src/bake-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ int bake_provider_register(margo_instance_id mid,
else {
margo_get_handler_pool(mid, &(tmp_provider->handler_pool));
}
BAKE_DEBUG(mid, "using handler pool %p", tmp_provider->handler_pool);

/* create buffer poolset if needed for config */
ret = setup_poolset(tmp_provider);
Expand Down

0 comments on commit 5dfabfa

Please sign in to comment.