mirror of
https://github.com/penpot/penpot.git
synced 2025-02-03 21:09:00 -05:00
📎 Print parsed flags on start
This commit is contained in:
parent
cdcf3facd2
commit
2a9c8eb9af
1 changed files with 7 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
[app.common.data :as d]
|
[app.common.data :as d]
|
||||||
[app.common.exceptions :as ex]
|
[app.common.exceptions :as ex]
|
||||||
[app.common.flags :as flags]
|
[app.common.flags :as flags]
|
||||||
|
[app.common.logging :as l]
|
||||||
[app.common.spec :as us]
|
[app.common.spec :as us]
|
||||||
[app.common.version :as v]
|
[app.common.version :as v]
|
||||||
[app.util.time :as dt]
|
[app.util.time :as dt]
|
||||||
|
@ -351,8 +352,12 @@
|
||||||
(str/trim))
|
(str/trim))
|
||||||
"%version%")))
|
"%version%")))
|
||||||
|
|
||||||
(def ^:dynamic config (read-config))
|
(defonce ^:dynamic config (read-config))
|
||||||
(def ^:dynamic flags (parse-flags config))
|
|
||||||
|
(defonce ^:dynamic flags
|
||||||
|
(let [flags (parse-flags config)]
|
||||||
|
(l/info :hint "flags initialized" :flags (str/join "," (map name flags)))
|
||||||
|
flags))
|
||||||
|
|
||||||
(def deletion-delay
|
(def deletion-delay
|
||||||
(dt/duration {:days 7}))
|
(dt/duration {:days 7}))
|
||||||
|
|
Loading…
Add table
Reference in a new issue