ruby-spacy icon indicating copy to clipboard operation
ruby-spacy copied to clipboard

`Spacy::Language.new` hangs when called from sidekiq worker

Open hoblin opened this issue 6 months ago • 4 comments

I built a little tokenizer in my app and it works great when called from the rails console. But once I run it from a background job (I tried both sidekiq and solid_queue) or from a server process (puma) with after_create_commit callback, it just hangs the process and I need to kill it. It looks similar to this issue https://github.com/mrkn/pycall.rb/issues/95

hoblin avatar Dec 29 '23 13:12 hoblin