SessionActivation and groups query change

This commit is contained in:
Fosco Marotto 2021-01-23 18:21:31 -05:00
parent 63ad3a1590
commit 645def5f96
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class SortingQueryBuilder < BaseService
min_reblogs = 2 min_reblogs = 2
min_replies = 1 min_replies = 1
date_limit = 5.years.ago date_limit = 5.years.ago
pure_limit = "NOW() - INTERVAL '14 days'" pure_limit = "NOW() - INTERVAL '3 days'"
max_page = 8 max_page = 8
case sort_type case sort_type

View File

@ -18,6 +18,7 @@ Rails.application.routes.draw do
Doorkeeper::AccessToken.connection.stick_to_master! Doorkeeper::AccessToken.connection.stick_to_master!
Doorkeeper::AccessGrant.connection.stick_to_master! Doorkeeper::AccessGrant.connection.stick_to_master!
SessionActivation.connection.stick_to_master!
use_doorkeeper do use_doorkeeper do
controllers authorizations: 'oauth/authorizations', controllers authorizations: 'oauth/authorizations',