             [oc.lib.db.pool :as pool]
             [oc.lib.sqs :as sqs]
             [oc.storage.async.notification :as notification]
-            [oc.storage.async.auth-notification :as auth-notification]
-            [oc.storage.async.storage-notification :as storage-notification]
+            [oc.storage.async.auth-notification :as auth-notif]
+            [oc.storage.async.storage-notification :as storage-notif]
             [oc.storage.config :as c]))
 
 (defrecord HttpKit [options handler]

    (timbre/info "[storage-notification] started")
    (assoc component :storage-notification true))

  (stop [{:keys [auth-notification] :as component}]
    (if auth-notification
      (do
        (timbre/info "[storage-notification] stopping...")
        (storage-notification/stop)
        (timbre/info "[storage-notification] stopped")
        (dissoc component :storage-notification))
      component)))

    (if auth-notification
      (do
        (timbre/info "[auth-notification] stopping...")
        (auth-notif/stop)
        (timbre/info "[auth-notification] stopped")
        (dissoc component :auth-notification))
      component)))
