 (defn- ms-time [ts]
   (* 1000 (read-string (first (clojure.string/split ts #"\."))))
 )
-
-
-@prev-data
 
 
 (defn- add-pwr-data

      ))


(defonce server (atom nil))

(defn start-server [port-no]
  (reset! server (run-server #'handler {:port port-no})))


(defn stop-server []
  (when-not (nil? @server)

    (reset! server nil)))


(defn -main [& args]
  (let [port (Integer. (or (System/getenv "PORT") default-port))]
    (println "Using port:" port)
