Pulling out other imports
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -61,9 +61,3 @@
|
||||
|
||||
(def import-plaid (allow-once import-plaid-int))
|
||||
|
||||
(mount/defstate import-worker
|
||||
:start (scheduler/every (* 1000 60 60 3) (heartbeat import-plaid "import-plaid"))
|
||||
:stop (scheduler/stop import-worker))
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -88,11 +88,3 @@
|
||||
|
||||
(def import-yodlee2 (allow-once import-yodlee2-int))
|
||||
|
||||
|
||||
(mount/defstate import-worker
|
||||
:start (scheduler/every (* 1000 60 60 4) (heartbeat import-yodlee2 "import-yodlee"))
|
||||
:stop (scheduler/stop import-worker))
|
||||
|
||||
(mount/defstate account-worker
|
||||
:start (scheduler/every (* 5 60 1000) (heartbeat client2/upsert-accounts "upsert-yodlee2-accounts"))
|
||||
:stop (scheduler/stop account-worker))
|
||||
|
||||
Reference in New Issue
Block a user