 
   Meteor.methods
     'sync-arxhiv-pdf-cache': ->
+      @unblock()
+
       if not Meteor.settings.AWS
         console.error "AWS settings missing"
         throw new Meteor.Error 500, "AWS settings missing"

      Meteor.call 'process-pdfs' if count > 0

    'process-pdfs': ->
      console.log "Processing pending PDFs"

      Publications.find(cached: true, processed: {$ne: true}).forEach (publication) ->

      console.log "Done"

    'dummy-comments': ->
      @unblock()

      console.log "Generating dummy comments"

      Publications.find(cached: true, processed: true, paragraphs: null).forEach (publication) ->
