Force node restart during initialization on desktop

Remove log

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
Vitaliy Vlasov 2018-10-18 16:18:59 +03:00 committed by Goran Jovic
parent 711f454c76
commit 66e7815bcc
No known key found for this signature in database
GPG Key ID: D429D1A9B2EB8A8E
1 changed files with 4 additions and 1 deletions

View File

@ -146,7 +146,10 @@
(let [restart {:db (assoc db :node/restart? true :node/address address)}]
(case status
:started (stop cofx)
:starting restart
:starting (do
(when utils.platform/desktop?
(status/stop-node))
restart)
:stopping restart
(start cofx address))))