         post.comments = comments
         callback null
 
-  getAllVotes = (post, callback) ->
+  getAllVotes = (post, cacheMax, callback) ->
 
     votes = []
 


      url = "https://api.producthunt.com/v1/posts/#{post.id}/comments?" + qs.stringify(params)

      cacheGet url, token, headers, (err, body) ->
        if err
          callback err
        else


getRecentPosts = (token, callback) ->

  getAllComments = (post, cacheMax, callback) ->

    comments = []

