mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00:29 +05:30
Optimize HotSpot flags for performance.
This commit is contained in:
parent
c28495f9bb
commit
e9b51017b0
@ -17,4 +17,4 @@ COPY VERSION .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["java", "--enable-preview", "-jar", "/app/piped.jar"]
|
||||
CMD java -server -Xmx1G -XX:+AggressiveOpts -XX:+UnlockExperimentalVMOptions -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on --enable-preview -jar /app/piped.jar
|
||||
|
@ -8,4 +8,4 @@ COPY VERSION .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["java", "--enable-preview", "-jar", "/app/piped.jar"]
|
||||
CMD java -server -Xmx1G -XX:+AggressiveOpts -XX:+UnlockExperimentalVMOptions -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on --enable-preview -jar /app/piped.jar
|
||||
|
Loading…
Reference in New Issue
Block a user