Parcourir la source

[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 il y a 1 an
Parent
commit
e1dcb73c82
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 && \