def changes_feed_uri
      query = {
        'feed' => 'continuous',
        'heartbeat' => '10000'
      }

      customize_query(query)

      uri = (@db.respond_to?(:uri) ? @db.uri : URI(@db)).dup
      uri.path += '/_changes'
      uri.query = build_query(query)
      uri
    end
def changes_feed_uri
      query = {
        'feed' => 'continuous',
        'heartbeat' => '10000'
      }

      customize_query(query)

      uri = (@db.respond_to?(:uri) ? @db.uri : URI(@db)).dup
      uri.path += '/_changes'
      uri.query = build_query(query)
      uri
    end
Checks services.  If all services pass muster, enters a read loop.

 The database parameter may be either a URL-as-string or a
 Analysand::Database.

 If overriding the initializer, you MUST call super.
 The URI of the changes feed.  This URI incorporates any changes
 made by customize_query.