Chore: Remove redis backed reporting (#669)
This commit is contained in:
@@ -3,7 +3,6 @@ app_redis_config = {
|
||||
password: ENV.fetch('REDIS_PASSWORD', nil).presence
|
||||
}
|
||||
redis = Rails.env.test? ? MockRedis.new : Redis.new(app_redis_config)
|
||||
Nightfury.redis = Redis::Namespace.new('reports', redis: redis)
|
||||
|
||||
# Alfred - Used currently for round robin and conversation emails.
|
||||
# Add here as you use it for more features
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
defaults: &defaults
|
||||
host: 0.0.0.0
|
||||
port: 6379
|
||||
namespace: "local"
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
slave:
|
||||
<<: *defaults
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
staging:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
||||
@@ -79,17 +79,6 @@ Rails.application.routes.draw do
|
||||
resources :notifications, only: [:index, :update]
|
||||
resource :notification_settings, only: [:show, :update]
|
||||
|
||||
resources :reports, only: [] do
|
||||
collection do
|
||||
get :account
|
||||
get :agent
|
||||
end
|
||||
member do
|
||||
get :account_summary
|
||||
get :agent_summary
|
||||
end
|
||||
end
|
||||
|
||||
# this block is only required if subscription via chargebee is enabled
|
||||
resources :subscriptions, only: [:index] do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user