Skip to content

Commit

Permalink
Update by_docket_date_distribution.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
zurbergram committed Apr 18, 2023
1 parent 234adf2 commit e8d8e28
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/models/concerns/by_docket_date_distribution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ def ama_statistics
nonpriority_counts[:iterations] = @nonpriority_iterations

settings = {}
settings[:acd_disable_legacy_distributions] = FeatureToggle.enabled?(:acd_disable_legacy_distributions, user: RequestStore.store[:current_user])
settings[:acd_disable_nonpriority_distributions] = FeatureToggle.enabled?(:acd_disable_nonpriority_distributions, user: RequestStore.store[:current_user])
feature_toggles = [:acd_disable_legacy_distributions, :acd_disable_nonpriority_distributions]
feature_toggles.each do |sym|
settings[sym] = FeatureToggle.enabled?(sym, user: RequestStore.store[:current_user])
end

{
batch_size: @appeals.count,
Expand Down

0 comments on commit e8d8e28

Please sign in to comment.