coinbase / coinbase/temporal-ruby
RuntimeError: grpc cannot be used before and after forking
Open
- Dominant language
- Ruby
- Stars
- 287
- Forks
- 113
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 1
Description
I am using the following config in my deployed environments -
`Rails.application.configure do
config.cache_classes = true
config.eager_load = true
end
`
If I call Temporal.start_worflow with above configuration, I get -
`RuntimeError: grpc cannot be used before and after forking
from /bundle/ruby/2.6.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/lib/grpc/generic/client_stub.rb:493:in `create_call'`
However if both cache_classes and eager_load is set to false, it works.
Any suggestions on how I can resolve this?
Contributor guide
Assessment
This issue has not been assessed yet.