Force node restart during initialization on desktop
Remove log Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
711f454c76
commit
66e7815bcc
|
@ -146,7 +146,10 @@
|
||||||
(let [restart {:db (assoc db :node/restart? true :node/address address)}]
|
(let [restart {:db (assoc db :node/restart? true :node/address address)}]
|
||||||
(case status
|
(case status
|
||||||
:started (stop cofx)
|
:started (stop cofx)
|
||||||
:starting restart
|
:starting (do
|
||||||
|
(when utils.platform/desktop?
|
||||||
|
(status/stop-node))
|
||||||
|
restart)
|
||||||
:stopping restart
|
:stopping restart
|
||||||
(start cofx address))))
|
(start cofx address))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue