浏览代码

[ruby/rack] Enable Rubys M:N thread scheduler for Puma (#8678)

With the M:N thread scheduler thread creation and management cost are reduced.
Petrik de Heus 1 年之前
父节点
当前提交
e1dcb73c82
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frameworks/Ruby/rack/rack.dockerfile

+ 1 - 0
frameworks/Ruby/rack/rack.dockerfile

@@ -1,6 +1,7 @@
 FROM ruby:3.4-rc
 
 ENV RUBY_YJIT_ENABLE=1
+ENV RUBY_MN_THREADS=1
 
 # Use Jemalloc
 RUN apt-get update && \