Browse Source

[ruby/roda-sequel] Set timeslice to 10ms (#10075)

Petrik de Heus 2 tuần trước cách đây
mục cha
commit
f5eee1c9e4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      frameworks/Ruby/roda-sequel/roda-sequel.dockerfile

+ 1 - 0
frameworks/Ruby/roda-sequel/roda-sequel.dockerfile

@@ -4,6 +4,7 @@ ADD ./ /roda-sequel
 WORKDIR /roda-sequel
 
 ENV RUBY_YJIT_ENABLE=1
+ENV RUBY_THREAD_TIMESLICE=10
 
 # Use Jemalloc
 RUN apt-get update && \