             [monger.collection :as mgcol]
             [environ.core :as env]))
 
-;(use 'alex-and-georges.debug-repl)
 
-(println "launching poller " (System/currentTimeMillis))
 
 (defn heroku-db-spec [db-uri]
   (let [[_ user password host port db] (re-matches #"postgres://(?:(.+):(.*)@)?([^:]+)(?::(\d+))?/(.+)" db-uri)

                      (conv-update (or (convs zid) {:rating-mat (named-matrix)}) votes)
                      (catch Exception e (println "exception when processing zid: " zid))))))
                
            ;(upsert-results pg-spec 1001 1 "foo")
            (println "zid: " zid)
            (println "time: " (System/currentTimeMillis))
            (println "\n\n")
            (println (generate-string (prep-for-uploading (@conversations zid))))
            ; (debug-repl)
            (println 
              (mongo-upsert-results
                zid

                  :ssl true
                  :sslfactory "org.postgresql.ssl.NonValidatingFactory"}]
    (kdb/postgres settings)))


(defn split-by-conv [votes]
