Skip to content

refactor(rpc): create lifecycle server eagerly#15233

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-vuzptoprtvrq
Open

refactor(rpc): create lifecycle server eagerly#15233
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-vuzptoprtvrq

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Have Rpc.Server.Lifecycle.create take the already-created Csexp server, register it immediately, and store it directly instead of retaining a lazy server and startup ivar. The Dune caller forces its existing server lazy before creating the lifecycle.

Have Rpc.Server.Lifecycle.create take the already-created Csexp server, register it immediately, and store it directly instead of retaining a lazy server and startup ivar. The Dune caller forces its existing server lazy before creating the lifecycle.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant