♻️ Refactor async tasks implementation.

And migrate the previous unrelated subsystems such that gc and
email sending to the new subsystem.
This commit is contained in:
Andrey Antukh 2020-01-23 17:53:26 +01:00
parent 70b4a2b4d4
commit c6f7ded125
12 changed files with 371 additions and 209 deletions

View file

@ -8,15 +8,16 @@
;; Copyright (c) 2016-2020 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.main
(:require [mount.core :as mount]
[uxbox.config :as cfg]
[uxbox.migrations]
[uxbox.db]
[uxbox.http]
#_[uxbox.scheduled-jobs])
(:require
[mount.core :as mount]
[uxbox.config :as cfg]
[uxbox.migrations]
[uxbox.db]
[uxbox.http]
#_[uxbox.scheduled-jobs])
(:gen-class))
;; --- Entry point (only for uberjar)
;; --- Entry point
(defn -main
[& args]