子弹宝石造成致命伤害-没有活动线程了。僵局?

时间:2019-01-24 14:18:56

标签: ruby-on-rails ruby bullet

我最近安装了Bullet gem版本5.6,以便在Rails 4.2(Ruby 2.2.3)应用程序上检测N + 1个查询。

我注意到我收到以下错误消息:

fatal - No live threads left. Deadlock?:
 actionpack (4.2.4) lib/action_controller/metal/live.rb:154:in `each'
 actionpack (4.2.4) lib/action_dispatch/http/response.rb:52:in `each'
 actionpack (4.2.4) lib/action_dispatch/http/response.rb:220:in `body'
 actionpack (4.2.4) lib/action_dispatch/http/response.rb:371:in `body'
 bullet (5.6.0) lib/bullet/rack.rb:71:in `response_body'
 bullet (5.6.0) lib/bullet/rack.rb:36:in `empty?'
 bullet (5.6.0) lib/bullet/rack.rb:16:in `call'
 jquery-fileupload-rails (0.4.6) lib/jquery/fileupload/rails/middleware.rb:14:in `_call'
 jquery-fileupload-rails (0.4.6) lib/jquery/fileupload/rails/middleware.rb:10:in `call'

请提供任何线索

0 个答案:

没有答案