Skip to content

Commit

Permalink
Disable experiments in India temporarily (#5267)
Browse files Browse the repository at this point in the history
**Story card:**
[sc-11112](https://app.shortcut.com/simpledotorg/story/11112/p1-bsnl-smses-failing-with-401)

## Because

Smses in India are failing with 401: Unauthorized since 2nd Sep.
Disabling experiments till the bug is fixed so we're not bombarding
BSNL.
  • Loading branch information
qptr authored Sep 5, 2023
1 parent 4bff5c3 commit cb54259
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/tasks/experiments.rake
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
namespace :experiments do
desc "Conduct an experiment for the day and send out notifications"
task conduct_daily: :environment do
Time.use_zone(CountryConfig.current[:time_zone]) do
Experimentation::Runner.call
AppointmentNotification::ScheduleExperimentReminders.call
unless CountryConfig.current_country?("India")
Time.use_zone(CountryConfig.current[:time_zone]) do
Experimentation::Runner.call
AppointmentNotification::ScheduleExperimentReminders.call
end
end
end
end

0 comments on commit cb54259

Please sign in to comment.