From 8efa081f210d72ed450c39ac4cde0fd84fb3d3fb Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 24 Nov 2016 23:46:27 +0100 Subject: Remove Neo4J --- lib/tasks/mastodon.rake | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib') diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake index 93461bd0a..8730a64cd 100644 --- a/lib/tasks/mastodon.rake +++ b/lib/tasks/mastodon.rake @@ -49,11 +49,4 @@ namespace :mastodon do Redis.current.keys('feed:*').each { |key| Redis.current.del(key) } end end - - namespace :graphs do - desc 'Syncs all follow relationships to Neo4J' - task sync: :environment do - Follow.find_each(&:sync!) - end - end end -- cgit