Skip to content

RPC call before worker initialization #992

Answered by rustatian
fr05t1k asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @fr05t1k. Just use goroutine to init workers in the Serve function like here: https://github.com/roadrunner-server/http/blob/master/plugin.go#L112

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fr05t1k
Comment options

@rustatian
Comment options

Answer selected by fr05t1k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
R-question Question
2 participants