Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion joplin.cassandra/src/joplin/cassandra/database.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
:primary-key [:id]}))))

(defn- cluster-configuration
[{:keys [hosts credentials] :as cass-db}]
[{:keys [hosts credentials port] :as cass-db
:or {port 9042}}]
{:contact-points hosts
:port port
:credentials credentials})

(defn get-connection [db]
Expand Down