diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-26 12:56:12 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | 4d12e45d3b3dfdc87be130276c4ec737e5f2a96b (patch) | |
tree | 19fe5e779a3a111c48cf35e4252f4527a81612b0 /app | |
parent | f573712f827779e48457b54ea43ed4b5719e542b (diff) |
Account manager: consider dormant to be 3 months instead of one.
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/relationships_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/relationships_controller.rb b/app/controllers/relationships_controller.rb index c87a0cf13..b3af15b4a 100644 --- a/app/controllers/relationships_controller.rb +++ b/app/controllers/relationships_controller.rb @@ -62,7 +62,7 @@ class RelationshipsController < ApplicationController end def dormant_account_scope - AccountStat.where(last_status_at: nil).or(AccountStat.where(AccountStat.arel_table[:last_status_at].lt(1.month.ago))) + AccountStat.where(last_status_at: nil).or(AccountStat.where(AccountStat.arel_table[:last_status_at].lt(3.months.ago))) end def by_domain_scope |