forked from e621ng/e621ng
[Docker] Enable YJIT
Gives a small performance boost on prod in exchange for more RAM usage
This commit is contained in:
parent
17b9797657
commit
1c4a79d2ef
@ -30,6 +30,7 @@ WORKDIR /app
|
||||
RUN git config --global --add safe.directory $(pwd)
|
||||
|
||||
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
|
||||
ENV RUBY_YJIT_ENABLE=1
|
||||
|
||||
# Setup node and yarn
|
||||
COPY --from=node-builder /usr/lib /usr/lib
|
||||
|
Loading…
Reference in New Issue
Block a user