Skip to content

Commit

Permalink
Re-enable experiments in India (#5281)
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)

We temporarily disabled sms experiments in India due to a bug where
smses were failing with HTTP 401. Now that the BSNL blacklist is lifted,
we're enabling them again. Details on long term fixes are captred in the
card.

Co-authored-by: akshat <[email protected]>
  • Loading branch information
qptr and olttwa authored Oct 27, 2023
1 parent ce50300 commit 724b909
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/tasks/experiments.rake
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
namespace :experiments do
desc "Conduct an experiment for the day and send out notifications"
task conduct_daily: :environment do
unless CountryConfig.current_country?("India")
Time.use_zone(CountryConfig.current[:time_zone]) do
Experimentation::Runner.call
AppointmentNotification::ScheduleExperimentReminders.call
end
Time.use_zone(CountryConfig.current[:time_zone]) do
Experimentation::Runner.call
AppointmentNotification::ScheduleExperimentReminders.call
end
end
end

0 comments on commit 724b909

Please sign in to comment.