Преглед изворни кода

[ruby/rack] Set timeslice to 10ms (#10074)

By default this is set to 100ms.
https://github.com/ruby/ruby/pull/11981
Petrik de Heus пре 1 недеља
родитељ
комит
11542ce571
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      frameworks/Ruby/rack/rack.dockerfile

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

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