Make it actually compile

And start repl, because it's annoying when that doesnt happen
This commit is contained in:
Felisp 2024-01-06 06:22:26 +01:00
parent 68a74cf1b8
commit d1666da946

View file

@ -75,7 +75,7 @@
"Entry point, starts webserver" "Entry point, starts webserver"
[& args] [& args]
;; Todo: Think of a way to start repeated download for every catalog efficiently ;; Todo: Think of a way to start repeated download for every catalog efficiently
(let [config (get-some-config args)]) (let [config (get-some-config args)]
(println args) (println args)
(System/exit 0) (System/exit 0)
(set-interval (fn [] (set-interval (fn []
@ -83,7 +83,7 @@
(watcher/update-thread-cache! (:target config) (:starting-page config))) (watcher/update-thread-cache! (:target config) (:starting-page config)))
(* 1000 (:refresh-delay config))) (* 1000 (:refresh-delay config)))
(jetty/run-jetty (rp/wrap-params feed/http-handler) {:port (:port CONFIG-DEFAULT) (jetty/run-jetty (rp/wrap-params feed/http-handler) {:port (:port CONFIG-DEFAULT)
:join? true})) :join? true})))
;; Docs: https://github.com/ring-clojure/ring/wiki/Getting-Started ;; Docs: https://github.com/ring-clojure/ring/wiki/Getting-Started
(defn repl-main (defn repl-main