Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ttl fix attempt 2

  • Loading branch information...
commit bd9e4abc96ae52e117cb4cb09ccdfab3e6405765 1 parent 8730cd4
@dalkvist authored
Showing with 2 additions and 2 deletions.
  1. +1 −2  project.clj
  2. +1 −0  src/bf3/core.clj
View
3  project.clj
@@ -34,5 +34,4 @@
:jvm-opts ["-Xms350m" "-Xmx350m" "-server" "-XX:+UseConcMarkSweepGC"
"-XX:+CMSIncrementalMode" "-XX:+UseCompressedOops"
"-XX:+DoEscapeAnalysis" "-XX:+UseBiasedLocking"
- "-XX:PermSize=64M" "-XX:MaxPermSize=85M"
- "-Djava.net.preferIPv4Stack=true"])
+ "-XX:PermSize=64M" "-XX:MaxPermSize=85M"])
View
1  src/bf3/core.clj
@@ -589,4 +589,5 @@
(defn -main [& m]
(let [port (Integer/parseInt (get (System/getenv) "PORT" "8081"))]
+ (System/setProperty "java.net.preferIPv4Stack" "true")
(reset! server (server/start port))))
Please sign in to comment.
Something went wrong with that request. Please try again.