Merge commit '491033c86cc9c29302bfe68cc94dabad82ded4cc' into glitch-soc/merge-upstream
This commit is contained in:
commit
402c1e116d
74 files changed
+1004
-254
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
class FixReblogsInFeeds < ActiveRecord::Migration[5.1]
|
||||
def up
|
||||
redis = RedisConfiguration.pool.checkout
|
||||
redis = RedisConnection.pool.checkout
|
||||
fm = FeedManager.instance
|
||||
|
||||
# Old scheme:
|
||||
|
||||
@@ -4,7 +4,7 @@ class MigrateUnavailableInboxes < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
redis = RedisConfiguration.pool.checkout
|
||||
redis = RedisConnection.pool.checkout
|
||||
urls = redis.smembers('unavailable_inboxes')
|
||||
|
||||
hosts = urls.filter_map do |url|
|
||||
|
||||
Reference in new issue
Block a user