Eliminates Yodlee1, because it's broken.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
(let [[{:keys [message-id receipt-handle body]}] (:messages (sqs/receive-message {:queue-url queue-url
|
||||
:wait-time-seconds 1
|
||||
:count 1}))]
|
||||
|
||||
(when message-id
|
||||
(sqs/delete-message {:queue-url queue-url
|
||||
:receipt-handle receipt-handle} )
|
||||
@@ -26,9 +25,6 @@
|
||||
(= ":intuit" body)
|
||||
(i/import-intuit)
|
||||
|
||||
(= ":yodlee" body)
|
||||
(y/import-yodlee)
|
||||
|
||||
(= ":yodlee2" body)
|
||||
(y2/import-yodlee2)
|
||||
|
||||
|
||||
@@ -81,6 +81,6 @@
|
||||
|
||||
(def import-yodlee (allow-once import-yodlee))
|
||||
|
||||
(mount/defstate import-worker
|
||||
#_(mount/defstate import-worker
|
||||
:start (scheduler/every (* 1000 60 60 8) (heartbeat import-yodlee "import-yodlee"))
|
||||
:stop (scheduler/stop import-worker))
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
(defroutes routes
|
||||
(wrap-routes
|
||||
(context "/yodlee" []
|
||||
#_(context "/yodlee" []
|
||||
(GET "/fastlink" {:keys [identity]}
|
||||
(assert-admin identity)
|
||||
(let [[session token] (yodlee/get-access-token)]
|
||||
|
||||
@@ -98,7 +98,6 @@
|
||||
#'sysco/sysco-invoice-importer
|
||||
#'auto-ap.background.invoices/close-auto-invoices-worker
|
||||
#'gq-clients/current-balance-worker
|
||||
#'yodlee/import-worker
|
||||
#'yodlee2/import-worker
|
||||
#'yodlee2/account-worker
|
||||
#'intuit/import-worker
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
(log/error e)))))
|
||||
|
||||
|
||||
(mount/defstate in-memory-cache-worker
|
||||
#_(mount/defstate in-memory-cache-worker
|
||||
:start (scheduler/every (* 5 60 1000) refresh-in-memory-cache)
|
||||
:stop (scheduler/stop in-memory-cache-worker))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user