Skip to content

Commit e1dcb73

Browse files
authored
[ruby/rack] Enable Rubys M:N thread scheduler for Puma (#8678)
With the M:N thread scheduler thread creation and management cost are reduced.
1 parent 9391850 commit e1dcb73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frameworks/Ruby/rack/rack.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM ruby:3.4-rc
22

33
ENV RUBY_YJIT_ENABLE=1
4+
ENV RUBY_MN_THREADS=1
45

56
# Use Jemalloc
67
RUN apt-get update && \

0 commit comments

Comments
 (0)