Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fetch_public_posts.rb « workers « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 228efe81ee2bc976a99575b00ffb9cd79def33f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#   Copyright (c) 2010-2012, Diaspora Inc.  This file is
#   licensed under the Affero General Public License version 3 or later.  See
#   the COPYRIGHT file.

module Workers
  class FetchPublicPosts < Base
    sidekiq_options queue: :medium

    def perform(diaspora_id)
      Diaspora::Fetcher::Public.new.fetch!(diaspora_id)
    end
  end
end