rm debug
This commit is contained in:
parent
8732bc810b
commit
0ecf6d6d40
1 changed files with 8 additions and 8 deletions
|
|
@ -224,14 +224,14 @@
|
|||
(io/file (str ".babashka-pod-" pid ".port")))
|
||||
|
||||
(defn read-port [^java.io.File port-file]
|
||||
(time (loop []
|
||||
(let [f port-file]
|
||||
(if-let [s (when (.exists f)
|
||||
(let [s (slurp f)]
|
||||
(when (str/ends-with? s "\n")
|
||||
(str/trim s))))]
|
||||
(Integer. s)
|
||||
(recur))))))
|
||||
(loop []
|
||||
(let [f port-file]
|
||||
(if-let [s (when (.exists f)
|
||||
(let [s (slurp f)]
|
||||
(when (str/ends-with? s "\n")
|
||||
(str/trim s))))]
|
||||
(Integer. s)
|
||||
(recur)))))
|
||||
|
||||
(defn load-pod
|
||||
([pod-spec] (load-pod pod-spec nil))
|
||||
|
|
|
|||
Loading…
Reference in a new issue