-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
23 lines (23 loc) · 1.36 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(defproject couchbase "0.1.0-SNAPSHOT"
:description "Jepsen testing for couchbase"
:main couchbase.core
:plugins [[lein-cljfmt "0.7.0"]
[lein-kibit "0.1.8"]
[jonase/eastwood "0.3.12"]]
:jvm-opts ["-server" ; Be more aggressive with optimisations
"-Xms32G" ; Set the starting heap size to 32GB and the max heap size to 32GB so that we never
"-Xmx32G" ; have to re-size the heap which causes the GC to be used. If we go above 32GB we will
; crash but we shouldn't be using that much memory in a normal situation anyway
"-XX:+UseG1GC"] ; Use Garbage First (G1) Collector, this should reduce pause time over reducing memory
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/tools.cli "1.0.206"]
[jepsen "0.2.5"]
[cheshire "5.10.1"]
[clj-http "3.12.3"]
[com.couchbase.client/core-io "2.2.3"]
[com.couchbase.client/java-client "3.2.3"]
[com.couchbase.client/dcp-client "0.37.0"]]
:profiles {:dev {:resource-paths ["./test/couchbase/resources"]}
:uberjar {:aot :all}}
:repositories [["couchbase-snapshot" {:url "https://oss.sonatype.org/content/repositories/snapshots"
:checksum :ignore}]])