Pulling out other imports

This commit is contained in:
2022-09-23 11:46:44 -07:00
parent 567c5538d3
commit e201a8b03e
7 changed files with 98 additions and 54 deletions

View File

@@ -84,11 +84,3 @@
{:intuit-bank-account/external-id (:name ba)
:intuit-bank-account/name (:name ba)})
bank-accounts))))
(mount/defstate import-worker
:start (scheduler/every (* 1000 60 60 24) (heartbeat import-intuit "import-intuit"))
:stop (scheduler/stop import-worker))
(mount/defstate account-worker
:start (scheduler/every (* 1000 60 30) upsert-accounts)
:stop (scheduler/stop account-worker))