Pārlūkot izejas kodu

[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 gadu atpakaļ
vecāks
revīzija
e1dcb73c82
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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 && \