Skip to content

Commit

Permalink
making zero port configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen committed Oct 27, 2019
1 parent 22667d0 commit d484a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject re-mote "0.3.18"
(defproject re-mote "0.3.19"
:description "A live remote operations environment"
:url "https://github.com/re-ops/re-mote"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
Expand Down
3 changes: 2 additions & 1 deletion src/re_mote/zero/server.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns re-mote.zero.server
"An orchestration re-mote server using ZeroMq router socket"
(:require
[re-share.config.core :as conf]
[re-share.core :refer (find-port)]
[clojure.core.strint :refer (<<)]
[taoensso.timbre :refer (refer-timbre)]
Expand Down Expand Up @@ -37,7 +38,7 @@

(defn start [ctx private]
(future
(let [port 9000
(let [port (conf/get! :re-mote :port)
backend (backend-socket ctx)
frontend (router-socket ctx private port)
control (control-sub-socket ctx)]
Expand Down

0 comments on commit d484a47

Please sign in to comment.